Package ipsk.io
Class InterleaveEditInputStream
- java.lang.Object
 - 
- java.io.InputStream
 - 
- ipsk.io.FramedInputStream
 - 
- ipsk.io.FramedEditingInputStream
 - 
- ipsk.io.InterleaveEditInputStream
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Closeable,java.lang.AutoCloseable
public class InterleaveEditInputStream extends FramedEditingInputStream
Edits channels (interleaved data) from underlying stream.- Author:
 - K.Jaensch, klausj@phonetik.uni-muenchen.de
 
 
- 
- 
Field Summary
- 
Fields inherited from class ipsk.io.FramedEditingInputStream
is 
- 
Fields inherited from class ipsk.io.FramedInputStream
frameSize, frameSizeException 
 - 
 
- 
Constructor Summary
Constructors Constructor Description InterleaveEditInputStream(java.io.InputStream is, int frameSize, int frameOffset, int frameRead)Edits bytes from frameOffset to frameOffset+frameRead from each frame with given framesize. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread(byte[] buf, int offset, int len)longskip(long n)- 
Methods inherited from class ipsk.io.FramedEditingInputStream
close 
- 
Methods inherited from class ipsk.io.FramedInputStream
read, read 
 - 
 
 - 
 
- 
- 
Method Detail
- 
read
public int read(byte[] buf, int offset, int len) throws java.io.IOException- Specified by:
 readin classFramedInputStream- Throws:
 java.io.IOException
 
- 
skip
public long skip(long n) throws java.io.IOException- Overrides:
 skipin classjava.io.InputStream- Throws:
 java.io.IOException
 
 - 
 
 -