public static final class Generator.EmptyFileManager extends Object implements FileManager
| Constructor and Description |
|---|
Generator.EmptyFileManager() |
| Modifier and Type | Method and Description |
|---|---|
Writer |
createOutput(String path,
long lastModified)
Create new file in output folder. |
File |
getFile(String path)
Get existing file or directory. |
Iterable<File> |
getFiles()
Get collection of all source files for this manager. |
Iterable<File> |
getFolders()
Return collection of all folders included in this manager instance. |
public Iterable<File> getFolders()
FileManagerReturn collection of all folders included in this manager instance.
getFolders in interface FileManagerpublic Iterable<File> getFiles()
FileManagerGet collection of all source files for this manager.
getFiles in interface FileManagerpublic File getFile(String path) throws FileNotFoundException
FileManagerGet existing file or directory.
getFile in interface FileManagerFileNotFoundExceptionpublic Writer createOutput(String path, long lastModified) throws IOException
FileManagerCreate new file in output folder.
createOutput in interface FileManagerpath - relative path to output file.lastModified - time of last modification of model.lastModified
parameter.IOExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.