net.java.sen.io
Class FileAccessorFactory

java.lang.Object
  extended bynet.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.


Constructor Summary
FileAccessorFactory()
           
 
Method Summary
static FileAccessor getInstance(java.io.File file)
           
static FileAccessor getInstance(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAccessorFactory

public FileAccessorFactory()
Method Detail

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