THE PACKAGE JAVA.IO
java.io.FileOutputStream
22.16
22.16.3
public FileOutputStream(FileDescriptor fdObj)
throws SecurityException
This constructor initializes a newly created
FileOutputStream
by using the file
descriptor
fdObj
, which represents an existing connection to an actual file in the
file system.
First, if there is a security manager, its
checkWrite
method ( 20.17.20) is
called with the file descriptor
fdObj
argument as its argument.
22.16.4
public final FileDescriptor getFD() throws IOException
This method returns the
FileDescriptor
object ( 22.26) that represents the con
nection to the actual file in the file system being used by this
FileOutputStream
.
22.16.5
public void write(int b) throws IOException
The byte for this operation is written to the actual file to which this file output
stream is connected.
Implements the
write
method of
OutputStream
( 22.15.1).
22.16.6
public void write(byte[] b)
throws IOException, NullPointerException
Bytes for this operation are written to the actual file to which this file output
stream is connected.
Overrides the
write
method of
OutputStream
( 22.15.2).
22.16.7
public void write(byte[] b, int off, int len)
throws IOException, NullPointerException,
IndexOutOfBoundsException
Bytes for this operation are written to the actual file to which this file output
stream is connected.
Overrides the
write
method of
OutputStream
( 22.15.3).
22.16.8
public void close() throws IOException
This file output stream is closed and may no longer be used for writing bytes.
Overrides the
close
method of
OutputStream
( 22.15.5).
723
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved