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
OutStream
cancel
in class OutStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutStream
IOException
public void write(byte[] b) throws IOException
write
in class OutStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutStream
IOException
public void write(int b) throws IOException
write
in class OutStream
IOException
Copyright © 2014. All rights reserved.