org.sourcejammer.server.make
Class BytesToAddStreamer
java.lang.Object
|
+--org.sourcejammer.server.make.BytesToAddStreamer
- public class BytesToAddStreamer
- extends java.lang.Object
Title: SourceJammer 1.2
Description:
Copyright: Copyright (c) 2002
Company: SourceJammer Project
- Version:
- 1.0
- Author:
- Robert MacGrogan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
private java.io.File source
stmIn
private java.io.FileInputStream stmIn
fileIndex
private int fileIndex
MAX_BYTE_ARRAY_SIZE
public static final int MAX_BYTE_ARRAY_SIZE
- See Also:
- Constant Field Values
fileSize
public int fileSize
BytesToAddStreamer
public BytesToAddStreamer(java.io.File source)
throws java.io.IOException
retrieveBytes
public byte[] retrieveBytes(int beginIndex,
int length)
throws java.lang.IndexOutOfBoundsException,
java.io.IOException
java.lang.IndexOutOfBoundsException
java.io.IOException
retrieveRemainingBytes
private byte[] retrieveRemainingBytes()
throws java.lang.IndexOutOfBoundsException,
java.io.IOException
java.lang.IndexOutOfBoundsException
java.io.IOException
advanceFileToIndex
private void advanceFileToIndex(int index)
throws java.io.IOException
java.io.IOException
close
public void close()
throws java.io.IOException
java.io.IOException
finailze
protected void finailze()
throws java.lang.Throwable
java.lang.Throwable
Copyright © 2003 Soucejammer project.