@Internal public final class OffsetAwareOutputStream extends Object implements Closeable
OutputStream that keeps track of its current length.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
long |
getLength() |
void |
write(byte[] b,
int off,
int len) |
public long getLength()
public void write(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.