public class TFileOutputStream extends OutputStream
| Constructor and Description |
|---|
TFileOutputStream(File file) |
TFileOutputStream(File file,
boolean append) |
TFileOutputStream(FileDescriptor fdObj) |
TFileOutputStream(String name) |
TFileOutputStream(String name,
boolean append) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FileDescriptor |
getFD() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeInt(int handle,
int b) |
flushpublic TFileOutputStream(String name) throws FileNotFoundException
FileNotFoundExceptionpublic TFileOutputStream(String name, boolean append) throws FileNotFoundException
FileNotFoundExceptionpublic TFileOutputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic TFileOutputStream(File file, boolean append) throws FileNotFoundException
FileNotFoundExceptionpublic TFileOutputStream(FileDescriptor fdObj)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void writeInt(int handle,
int b)
throws IOException
IOExceptionpublic void write(byte[] b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreampublic final FileDescriptor getFD() throws IOException
IOExceptionCopyright © 2021 Systemprogrammierung Mirko Sertic. All rights reserved.