| java.lang.Object org.griphyn.vdl.euryale.FlatFileFactory org.griphyn.vdl.euryale.VirtualFlatFileFactory
VirtualFlatFileFactory | public class VirtualFlatFileFactory extends FlatFileFactory (Code) | | A Virtual Flat File Factory that does not do any existence checks while
creating a directory. The factory, is used to create remote paths without
checking for correctness.
author: Karan Vahi version: $Revision: 289 $ |
Method Summary | |
protected void | sanityCheck(File dir) Checks the destination location for existence, if it can
be created, if it is writable etc. |
VirtualFlatFileFactory | public VirtualFlatFileFactory(File directory) throws IOException(Code) | | Constructor: Creates the directory and employs sanity checks.
Parameters: directory - is the place where files should be placed. throws: IOException - if the location is not a writable directory,or cannot be created as such. |
VirtualFlatFileFactory | public VirtualFlatFileFactory(String directory) throws IOException(Code) | | Constructor: Creates the directory and employs sanity checks.
Parameters: directory - is the place where files should be placed. throws: IOException - if the location is not a writable directory,or cannot be created as such. |
sanityCheck | protected void sanityCheck(File dir) throws IOException(Code) | | Checks the destination location for existence, if it can
be created, if it is writable etc. Does no check as it is
virtual.
Parameters: dir - is the new base directory to optionally create throws: IOException - |
|
|