water
Class ValueArray.VAStream

java.lang.Object
  extended by java.io.InputStream
      extended by water.ValueArray.VAStream
All Implemented Interfaces:
java.io.Closeable
Direct Known Subclasses:
ValueArray.CsvVAStream
Enclosing class:
ValueArray

public static class ValueArray.VAStream
extends java.io.InputStream


Field Summary
protected  AutoBuffer _ab
           
protected  ValueArray _ary
           
protected  long _chkidx
           
protected  long _currentChunkSz
           
protected  Job.ProgressMonitor _pm
           
 
Constructor Summary
ValueArray.VAStream(ValueArray ary, Job.ProgressMonitor pm)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ab

protected AutoBuffer _ab

_chkidx

protected long _chkidx

_ary

protected final ValueArray _ary

_pm

protected final Job.ProgressMonitor _pm

_currentChunkSz

protected long _currentChunkSz
Constructor Detail

ValueArray.VAStream

public ValueArray.VAStream(ValueArray ary,
                           Job.ProgressMonitor pm)
Method Detail

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException