com.etasoft.trans.io
Class axFileReader

java.lang.Object
  extended bycom.etasoft.trans.io.axReader
      extended bycom.etasoft.trans.io.axFileReader

public class axFileReader
extends axReader

File reader.


Constructor Summary
axFileReader(java.lang.String filePath, axInputParameters inputParams)
          Open input stream.
 
Method Summary
 void close()
          Used in axReaderIterator.
static java.util.ArrayList getList(java.lang.String dataPath)
          Get list of files matching wildcard criterion in dataPath.
 void open(java.lang.String filePath, axInputParameters inputParams)
          Open file for reading.
 int read(char[] cbuf)
          Used in axReaderIterator.
 
Methods inherited from class com.etasoft.trans.io.axReader
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axFileReader

public axFileReader(java.lang.String filePath,
                    axInputParameters inputParams)
             throws axException
Open input stream. filePath example C:/test/trans/README.htm

Method Detail

open

public void open(java.lang.String filePath,
                 axInputParameters inputParams)
          throws axException
Open file for reading.

Specified by:
open in class axReader
Throws:
axException

getList

public static java.util.ArrayList getList(java.lang.String dataPath)
Get list of files matching wildcard criterion in dataPath.


close

public void close()
           throws axException
Used in axReaderIterator.

Specified by:
close in class axReader
Throws:
axException

read

public int read(char[] cbuf)
         throws axException
Used in axReaderIterator.

Overrides:
read in class axReader
Throws:
axException