public class FencedOutputStream extends OutputStream
| Constructor and Description |
|---|
FencedOutputStream(File repos,
int fence) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
getBuffer() |
File |
getFile() |
boolean |
isMemory()
Return T if the whole thing is in memory.
|
int |
size()
Returns the size, in bytes, of the written thing.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushpublic FencedOutputStream(File repos, int fence)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic final boolean isMemory()
public final byte[] getBuffer()
public final int size()
public final File getFile()
Copyright © 2017 etc.to. All rights reserved.