public interface Layout
Modifier and Type | Method and Description |
---|---|
void |
file(String name,
Owner owner,
Content content)
Write a file to the content.
|
void |
folder(String name,
Owner owner)
Add a folder to the content.
|
void folder(String name, Owner owner) throws IOException
name
- the full name of the folder to add.owner
- the owner of the folderIOException
- 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 foldercontent
- the content to addIOException
- on IO error