public class WritableMuxFile extends AbstractMuxFile
eventListener, fileId, fileName, lastModified, length, streams| Constructor and Description |
|---|
WritableMuxFile(InputStream in,
MuxFileDirectory writeDir) |
WritableMuxFile(MuxFileDirectory writeDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(int bytes) |
void |
addStream(MuxStream stream) |
OutputStream |
append() |
OutputStream |
append(boolean compress) |
void |
delete() |
void |
setName(String newName) |
void |
sync() |
detail, getLastModified, getLength, getName, getStreamIds, getStreams, read, read, read, toString, writeRecordpublic WritableMuxFile(MuxFileDirectory writeDir)
public WritableMuxFile(InputStream in, MuxFileDirectory writeDir) throws IOException
IOExceptionpublic void sync()
throws IOException
IOExceptionpublic void setName(String newName) throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic OutputStream append() throws IOException
IOExceptionpublic OutputStream append(boolean compress) throws IOException
IOExceptionpublic void addData(int bytes)
throws IOException
IOExceptionpublic void addStream(MuxStream stream) throws IOException
IOExceptionCopyright © 2018 AddThis. All rights reserved.