Package ipsk.io
Class FramedInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- ipsk.io.FramedInputStream
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable
 - Direct Known Subclasses:
- FramedEditingInputStream
 
 public abstract class FramedInputStream extends java.io.InputStreamBasic class for framed stream operations.- Author:
- klausj
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected intframeSizeprotected java.io.IOExceptionframeSizeException
 - 
Constructor SummaryConstructors Constructor Description FramedInputStream(int frameSize)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intread()intread(byte[] buf)abstract intread(byte[] buf, int offset, int len)
 
- 
- 
- 
Method Detail- 
readpublic int read() throws java.io.IOException- Specified by:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic int read(byte[] buf) throws java.io.IOException- Overrides:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic abstract int read(byte[] buf, int offset, int len) throws java.io.IOException- Overrides:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 
- 
 
-