public class FileOutStream extends OutStream
FileOutStream implementation of TachyonFile. It can only be gotten by
calling the methods in tachyon.client.TachyonFile, but can not be initialized by
the client code.FILE, TFS, USER_CONF, WRITE_TYPE| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the write operations to the OutStream
|
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void cancel()
throws IOException
OutStreamcancel in class OutStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutStreamIOExceptionCopyright © 2014. All rights reserved.