public static class FileSmoosher.Outer extends Object implements SmooshedWriter
| Modifier and Type | Method and Description |
|---|---|
int |
addToOffset(int numBytesWritten) |
int |
bytesLeft() |
void |
close() |
int |
getCurrOffset() |
int |
getFileNum() |
boolean |
isOpen() |
int |
write(ByteBuffer buffer) |
int |
write(InputStream in) |
public int getFileNum()
public int getCurrOffset()
public int bytesLeft()
public int write(ByteBuffer buffer) throws IOException
write in interface WritableByteChannelIOExceptionpublic int write(InputStream in) throws IOException
write in interface SmooshedWriterIOExceptionpublic int addToOffset(int numBytesWritten)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2016. All rights reserved.