Class FileSystemImpl
java.lang.Object
com.zfabrik.components.provider.fs.FileSystemImpl
- All Implemented Interfaces:
 IAbstractFileSystem
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck whether a file exists.getInputStream(String name) Retrieve the named resource as InputStreamgetRoot()Returns the root folderIterate over files under another file, i.e.list files under another file, i.e.toString() 
- 
Constructor Details
- 
FileSystemImpl
 
 - 
 - 
Method Details
- 
getRoot
Description copied from interface:IAbstractFileSystemReturns the root folder- Specified by:
 getRootin interfaceIAbstractFileSystem- Returns:
 - Root folder
 
 - 
exists
Description copied from interface:IAbstractFileSystemCheck whether a file exists.- Specified by:
 existsin interfaceIAbstractFileSystem- Returns:
 trueif the named file exists,falseotherwise.- Throws:
 IOException
 - 
getInputStream
Description copied from interface:IAbstractFileSystemRetrieve the named resource as InputStream- Specified by:
 getInputStreamin interfaceIAbstractFileSystem- Throws:
 IOException
 - 
list
Description copied from interface:IAbstractFileSystemlist files under another file, i.e. a folder. The first result element is the named file as specified by the signature.- Specified by:
 listin interfaceIAbstractFileSystem- Throws:
 IOException
 - 
iterate
Description copied from interface:IAbstractFileSystemIterate over files under another file, i.e. a folder. The first result element is the named file as specified by the signature. When working over large sets of files this method should realize the advantage that it does not require to read everything in advance, saving memory and time.- Specified by:
 iteratein interfaceIAbstractFileSystem- Throws:
 IOException
 - 
toString
 
 -