接口 Layout
public interface Layout
Interface that can be used to write a file/directory layout.
- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Scott Frederick
-
方法概要
修饰符和类型方法说明default void
Add a directory to the content.void
Add a directory to the content.void
Write a file to the content.default void
Write a file to the content.
-
方法详细资料
-
directory
Add a directory to the content.- 参数:
name
- the full name of the directory to addowner
- the owner of the directory- 抛出:
IOException
- on IO error
-
directory
Add a directory to the content.- 参数:
name
- the full name of the directory to addowner
- the owner of the directorymode
- the permissions for the file- 抛出:
IOException
- on IO error
-
file
Write a file to the content.- 参数:
name
- the full name of the file to addowner
- the owner of the filecontent
- the content to add- 抛出:
IOException
- on IO error
-
file
Write a file to the content.- 参数:
name
- the full name of the file to addowner
- the owner of the filemode
- the permissions for the filecontent
- the content to add- 抛出:
IOException
- on IO error
-