|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--com.novell.java.io.NOutputStream | +--com.novell.service.file.nw.NFileOutputStream
Opens an output stream on a NetWare file or Extended Attribute.
NFileOutputStream extends NOutputStream by adding convenience constructors for the various custom parameters.
The DataAccessableParameters class can also be used by the user application layer to obtain constant flags for the various constructors of this class, or can instantiate a DataAccessableParameters object and pass it into the NOutputStream constructor.
NOutputStream
,
DataAccessableParameters
Constructor Summary | |
NFileOutputStream(DataAccessable accessor)
Constructs an NFileOutputStream object using default parameters. |
|
NFileOutputStream(DataAccessable accessor,
int openFlags)
Constructs an NFileOutputStream object using the openFlags parameters. |
|
NFileOutputStream(DataAccessable accessor,
int openFlags,
int dataSelector)
Constructs an NFileOutputStream object using the openFlags and dataSelector parameters. |
|
NFileOutputStream(java.lang.String name,
DataAccessable accessor)
Constructs a subordinate NFileOutputStream object using the default parameters. |
|
NFileOutputStream(java.lang.String name,
DataAccessable accessor,
int openFlags)
Constructs a subordinate NFileOutputStream object using the openFlags parameter. |
|
NFileOutputStream(java.lang.String name,
DataAccessable accessor,
int openFlags,
int dataSelector)
Constructs a subordinate NFileOutputStream object using the openFlags and dataSelector parameters. |
Methods inherited from class com.novell.java.io.NOutputStream |
close,
flush,
write,
write,
write |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NFileOutputStream(DataAccessable accessor) throws java.io.IOException
Opens an output stream through the specified DataAccessable object, using the default parameters.
accessor
- The accessor object that will be called
to open the stream.public NFileOutputStream(DataAccessable accessor, int openFlags) throws java.io.IOException
Given an openFlags object, an output stream is opened through the specified DataAccessable object.
accessor
- The accessor object that will be called
to open the stream.openFlags
- The flags that are used in opening the
stream in different modes.public NFileOutputStream(DataAccessable accessor, int openFlags, int dataSelector) throws java.io.IOException
Given openFlags and dataSelector objects, opens an output stream through the specified DataAccessable object.
accessor
- The accessor object that will be called
to open the stream.openFlags
- The flags that are used in opening the
stream in different modes.dataSelector
- An integral value that allows the
individual data stream on a file to be
selected.public NFileOutputStream(java.lang.String name, DataAccessable accessor) throws java.io.IOException
Opens a subordinate output stream through the specified DataAccessable object, using default parameters.
name
- The subordinate name to open.accessor
- The accessor object that will be called
to open the stream.public NFileOutputStream(java.lang.String name, DataAccessable accessor, int openFlags) throws java.io.IOException
Given an openFlags object, a subordinate output stream is opened through the specified DataAccessable object.
name
- The subordinate name to open.accessor
- The accessor object that will be called
to open the stream.openFlags
- The flags that are used in opening the
stream in different modes.public NFileOutputStream(java.lang.String name, DataAccessable accessor, int openFlags, int dataSelector) throws java.io.IOException
Given openFlags and dataSelector objects, opens a subordinate output stream through the specified DataAccessable object.
name
- The subordinate name to open.accessor
- The accessor object that will be called
to open the stream.openFlags
- The flags that are used in opening the
stream in different modes.dataSelector
- An integral value that allows the
individual data stream on a file to be
selected.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |