com.etasoft.trans.io
Class axHttpReader

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

public class axHttpReader
extends axReader

HTTP reader.


Constructor Summary
axHttpReader(java.lang.String httpPath, axInputParameters inputParams)
          Connect to HTTP server and 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 httpPath, axInputParameters inputParams)
          Open HTTP connection.
 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

axHttpReader

public axHttpReader(java.lang.String httpPath,
                    axInputParameters inputParams)
             throws axException
Connect to HTTP server and open input stream. httpPath example user01:pass1234@www.foo.com/README.htm

Method Detail

open

public void open(java.lang.String httpPath,
                 axInputParameters inputParams)
          throws axException
Open HTTP connection.

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