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 WritableByteChannel
IOException
public int write(InputStream in) throws IOException
write
in interface SmooshedWriter
IOException
public long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write
in interface GatheringByteChannel
IOException
public long write(ByteBuffer[] srcs) throws IOException
write
in interface GatheringByteChannel
IOException
public int addToOffset(long numBytesWritten)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
Copyright © 2011–2018. All rights reserved.