public static class FileSmoosher.Outer extends Object implements SmooshedWriter
| Modifier and Type | Method and Description |
|---|---|
int |
addToOffset(long numBytesWritten) |
int |
bytesLeft() |
void |
close() |
int |
getCurrOffset() |
int |
getFileNum() |
boolean |
isOpen() |
int |
write(ByteBuffer buffer) |
long |
write(ByteBuffer[] srcs) |
long |
write(ByteBuffer[] srcs,
int offset,
int length) |
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 long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write in interface GatheringByteChannelIOExceptionpublic long write(ByteBuffer[] srcs) throws IOException
write in interface GatheringByteChannelIOExceptionpublic int addToOffset(long numBytesWritten)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2011–2018. All rights reserved.