@NotThreadSafe
public class KodoOutputStream
extends java.io.OutputStream
close() method is called.| Constructor and Description |
|---|
KodoOutputStream(java.lang.String key,
KodoClient kodoClient,
java.util.List<java.lang.String> tmpDirs)
Creates a name instance of
KodoOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this output stream.
|
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public KodoOutputStream(java.lang.String key,
KodoClient kodoClient,
java.util.List<java.lang.String> tmpDirs)
throws java.io.IOException
KodoOutputStream.key - the key of the filekodoClient - the client for KodotmpDirs - a list of temporary directoriesjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamCopyright © 2021. All Rights Reserved.