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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayBuffer
public ByteArrayBuffer(java.io.FileInputStream stmIn,
int maxSize)
throws java.io.IOException
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