public interface Layout
| Modifier and Type | Method and Description |
|---|---|
void |
directory(String name,
Owner owner)
Add a directory to the content.
|
void |
file(String name,
Owner owner,
Content content)
Write a file to the content.
|
void directory(String name, Owner owner) throws IOException
name - the full name of the directory to add.owner - the owner of the directoryIOException - on IO errorvoid file(String name, Owner owner, Content content) throws IOException
name - the full name of the file to add.owner - the owner of the filecontent - the content to addIOException - on IO error