net.java.sen.io
Class FileAccessorFactory
java.lang.Object
net.java.sen.io.FileAccessorFactory
- public class FileAccessorFactory
- extends java.lang.Object
Factory to obtain following FileAccessor.
MappedBufferedReader: if you use j2sdk1.4, this class is used.
FullBufferedReader : if you use other than j2sdk1.4, this class
is used.
RandomAccessReader : this class is optional. If you don't have
j2sdk1.4 and consulme
If you want to specify the class, please set canonical class name at
net.java.sen.io.FileAccessor propertiy by JVM's -D option.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileAccessorFactory
public FileAccessorFactory()
getInstance
public static FileAccessor getInstance(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
getInstance
public static FileAccessor getInstance(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException