Package java.io
Class FileOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FileOutputStream
-
public class FileOutputStream extends OutputStream
-
-
Constructor Summary
Constructors Constructor Description FileOutputStream(File var0)
FileOutputStream(FileDescriptor var0)
FileOutputStream(String var0)
FileOutputStream(String var0, boolean var1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
finalize()
FileDescriptor
getFD()
void
write(byte[] var0)
void
write(byte[] var0, int var1, int var2)
void
write(int var0)
-
Methods inherited from class java.io.OutputStream
flush
-
-
-
-
Constructor Detail
-
FileOutputStream
public FileOutputStream(File var0) throws FileNotFoundException
- Throws:
FileNotFoundException
-
FileOutputStream
public FileOutputStream(FileDescriptor var0)
-
FileOutputStream
public FileOutputStream(String var0) throws FileNotFoundException
- Throws:
FileNotFoundException
-
FileOutputStream
public FileOutputStream(String var0, boolean var1) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
close
public void close() throws IOException
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
finalize
protected void finalize() throws IOException
- Overrides:
finalize
in classObject
- Throws:
IOException
-
getFD
public final FileDescriptor getFD() throws IOException
- Throws:
IOException
-
write
public void write(byte[] var0) throws IOException
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] var0, int var1, int var2) throws IOException
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(int var0) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
-