SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.server.make
Class ByteArrayBuffer

java.lang.Object
  |
  +--org.sourcejammer.server.make.ByteArrayBuffer

public class ByteArrayBuffer
extends java.lang.Object


Constructor Summary
ByteArrayBuffer(java.io.FileInputStream stmIn, int maxSize)
           
 
Method Summary
 int beginIndex()
           
 int bufferIndexToSourceIndex(int index)
           
 void close()
           
 int endIndex()
           
protected  void finailze()
           
 byte[] getBuffer()
           
 void readUpTo(int upToIndex)
           
 int sourceIndexToBufferIndex(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayBuffer

public ByteArrayBuffer(java.io.FileInputStream stmIn,
                       int maxSize)
                throws java.io.IOException
Method Detail

readUpTo

public void readUpTo(int upToIndex)
              throws java.io.IOException

sourceIndexToBufferIndex

public int sourceIndexToBufferIndex(int index)

bufferIndexToSourceIndex

public int bufferIndexToSourceIndex(int index)

getBuffer

public byte[] getBuffer()

beginIndex

public int beginIndex()

endIndex

public int endIndex()

finailze

protected void finailze()
                 throws java.lang.Throwable

close

public void close()
           throws java.io.IOException

SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan