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 int
read(byte[] buf, int offset, int len)
long
skip(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:
read
in classFramedInputStream
- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException
- Overrides:
skip
in classjava.io.InputStream
- Throws:
java.io.IOException
-
-