public interface FileManager
| 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. |
File getFile(String path) throws FileNotFoundException
Get existing file or directory.
path - FileNotFoundExceptionIterable<File> getFiles()
Get collection of all source files for this manager.
Writer createOutput(String path, long lastModified) throws IOException
Create new file in output folder.
path - relative path to output file.lastModified - time of last modification of model.lastModified
parameter.IOExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.