public interface Layout
| Modifier and Type | Method and Description |
|---|---|
default void |
directory(java.lang.String name,
Owner owner)
Add a directory to the content.
|
void |
directory(java.lang.String name,
Owner owner,
int mode)
Add a directory to the content.
|
default void |
file(java.lang.String name,
Owner owner,
Content content)
Write a file to the content.
|
void |
file(java.lang.String name,
Owner owner,
int mode,
Content content)
Write a file to the content.
|
default void directory(java.lang.String name,
Owner owner)
throws java.io.IOException
name - the full name of the directory to addowner - the owner of the directoryjava.io.IOException - on IO errorvoid directory(java.lang.String name,
Owner owner,
int mode)
throws java.io.IOException
name - the full name of the directory to addowner - the owner of the directorymode - the permissions for the filejava.io.IOException - on IO errordefault void file(java.lang.String name,
Owner owner,
Content content)
throws java.io.IOException
name - the full name of the file to addowner - the owner of the filecontent - the content to addjava.io.IOException - on IO errorvoid file(java.lang.String name,
Owner owner,
int mode,
Content content)
throws java.io.IOException
name - the full name of the file to addowner - the owner of the filemode - the permissions for the filecontent - the content to addjava.io.IOException - on IO error