org.sourcejammer.server.source
Class  SourceInputStream
java.lang.Object
  |
  +--org.sourcejammer.server.source.SourceInputStream
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class SourceInputStream
- extends java.lang.Object
- implements java.io.Serializable
   
This class is essentially a wrapper around ByteArrayInputStream with
 reduced functionality.
- See Also: 
 - Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SourceInputStream
public SourceInputStream(byte[] buf)
SourceInputStream
public SourceInputStream(java.io.InputStream stm)
SourceInputStream
public SourceInputStream(byte[] buf,
                         int offset,
                         int length)
setStreamType
public void setStreamType(int i)
                   throws BadMethodArgumentException
 
read
public int read()
         throws java.io.IOException
 
skip
public long skip(long n)
          throws java.io.IOException
 
getStream
public java.io.InputStream getStream()
 
close
public void close()
           throws java.io.IOException