Interface Layout
public interface Layout
Interface that can be used to write a file/directory layout.
- Since:
- 2.3.0
- Author:
- Phillip Webb, Scott Frederick
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.
-
Method Details
-
directory
Add a directory to the content.- Parameters:
name
- the full name of the directory to addowner
- the owner of the directory- Throws:
IOException
- on IO error
-
directory
Add a directory to the content.- Parameters:
name
- the full name of the directory to addowner
- the owner of the directorymode
- the permissions for the file- Throws:
IOException
- on IO error
-
file
Write a file to the content.- Parameters:
name
- the full name of the file to addowner
- the owner of the filecontent
- the content to add- Throws:
IOException
- on IO error
-
file
Write a file to the content.- Parameters:
name
- the full name of the file to addowner
- the owner of the filemode
- the permissions for the filecontent
- the content to add- Throws:
IOException
- on IO error
-