public abstract class AbstractMuxFile extends Object implements MuxFile
| Modifier and Type | Field and Description |
|---|---|
protected MuxyEventListener |
eventListener |
protected int |
fileId |
protected String |
fileName |
protected long |
lastModified |
protected long |
length |
protected ArrayList<MuxStream> |
streams |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMuxFile(MuxyEventListener eventListener) |
protected |
AbstractMuxFile(ReadMuxFileDirectory dir,
InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
String |
detail() |
long |
getLastModified() |
long |
getLength() |
String |
getName() |
IntStream |
getStreamIds() |
List<MuxStream> |
getStreams() |
InputStream |
read() |
InputStream |
read(long offset) |
InputStream |
read(long offset,
boolean uncompress) |
String |
toString() |
void |
writeRecord(OutputStream out) |
protected int fileId
protected String fileName
protected long length
protected long lastModified
@Nullable protected final MuxyEventListener eventListener
protected AbstractMuxFile(@Nullable MuxyEventListener eventListener)
protected AbstractMuxFile(ReadMuxFileDirectory dir, InputStream in) throws IOException
IOExceptionpublic long getLastModified()
getLastModified in interface MuxFilepublic IntStream getStreamIds()
getStreamIds in interface MuxFilepublic List<MuxStream> getStreams() throws IOException
getStreams in interface MuxFileIOExceptionpublic void writeRecord(OutputStream out) throws IOException
writeRecord in interface MuxFileIOExceptionpublic InputStream read(long offset, boolean uncompress) throws IOException
read in interface MuxFileIOExceptionpublic InputStream read(long offset) throws IOException
read in interface MuxFileIOExceptionpublic InputStream read() throws IOException
read in interface MuxFileIOExceptionpublic String detail() throws IOException
detail in interface MuxFileIOExceptionCopyright © 2018 AddThis. All rights reserved.