public class MuxStream extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
bytes |
protected int |
endFile |
protected int |
endFileBlockOffset |
protected int |
startFile |
protected int |
startFileBlockOffset |
protected int |
streamId |
| Constructor and Description |
|---|
MuxStream(ReadMuxStreamDirectory streamDir,
InputStream in) |
MuxStream(ReadMuxStreamDirectory streamDir,
int streamId) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
append(MuxStreamDirectory muxStreamDirectory) |
int |
getEndBlockOffset() |
int |
getEndFile() |
int |
getStartBlockOffset() |
int |
getStartFile() |
long |
getStreamBytes() |
int |
getStreamId() |
InputStream |
read() |
String |
toString() |
protected void |
write(OutputStream out) |
protected final int streamId
protected int startFile
protected int startFileBlockOffset
protected int endFile
protected int endFileBlockOffset
protected long bytes
public MuxStream(ReadMuxStreamDirectory streamDir, int streamId)
public MuxStream(ReadMuxStreamDirectory streamDir, InputStream in) throws IOException
IOExceptionprotected void write(OutputStream out) throws IOException
IOExceptionpublic int getStreamId()
public long getStreamBytes()
public int getStartFile()
public int getEndFile()
public int getStartBlockOffset()
public int getEndBlockOffset()
public InputStream read() throws IOException
IOExceptionpublic OutputStream append(MuxStreamDirectory muxStreamDirectory) throws IOException
IOExceptionCopyright © 2018 AddThis. All rights reserved.