|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.java.io.RandomAccess | +--com.novell.service.file.nw.NRandomAccessFile
Opens a random access on a NetWare file.
NRandomAccessFile extends RandomAccess 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 it can instantiate a DataAccessableParameters object and pass it into the RandomAccessor constructor.
RandomAccess
,
DataAccessableParameters
Constructor Summary | |
NRandomAccessFile(DataAccessable accessor)
Constructs a NRandomAccessFile object using default parameters. |
|
NRandomAccessFile(DataAccessable accessor,
int openFlags)
Constructs a NRandomAccessFile object using the openFlags parameter. |
|
NRandomAccessFile(DataAccessable accessor,
int openFlags,
int dataSelector)
Constructs a NRandomAccessFile object using the openFlags and dataSelector parameters. |
|
NRandomAccessFile(java.lang.String name,
DataAccessable accessor)
Constructs a subordinate NRandomAccessFile object using the default parameters. |
|
NRandomAccessFile(java.lang.String name,
DataAccessable accessor,
int openFlags)
Constructs a subordinate NRandomAccessFile object using the openFlags parameter. |
|
NRandomAccessFile(java.lang.String name,
DataAccessable accessor,
int openFlags,
int dataSelector)
Constructs a subordinate NRandomAccessFile object using the openFlags and dataSelector parameters. |
Methods inherited from class com.novell.java.io.RandomAccess |
close,
getPosition,
length,
read,
read,
read,
readBoolean,
readByte,
readChar,
readDouble,
readFloat,
readFully,
readFully,
readInt,
readLine,
readLong,
readShort,
readUnsignedByte,
readUnsignedShort,
readUTF,
setLength,
setPosition,
skipBytes,
write,
write,
write,
writeBoolean,
writeByte,
writeBytes,
writeChar,
writeChars,
writeDouble,
writeFloat,
writeInt,
writeLong,
writeShort,
writeUTF |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NRandomAccessFile(DataAccessable accessor) throws java.io.IOException
Open a random access through the specified DataAccessable object, using default parameters.
accessor
- The DataAccessable object that will be
called to open the random access.public NRandomAccessFile(DataAccessable accessor, int openFlags) throws java.io.IOException
Given an openFlags object, opens a random access through the specified DataAccessable object.
accessor
- The DataAccessable object that will be
called to open the random access.openFlags
- The flags that are used in opening the
access in different modes.public NRandomAccessFile(DataAccessable accessor, int openFlags, int dataSelector) throws java.io.IOException
Given openFlags and dataSelector objects, opens a random access through the specified DataAccessable object.
accessor
- The DataAccessable object that will be called
to open the access.openFlags
- The flags that are used in opening the
access in different modes.dataSelector
- An integral value that allows the
individual forks on a file to be
selected.public NRandomAccessFile(java.lang.String name, DataAccessable accessor) throws java.io.IOException
Open a subordinate random access through the specified DataAccessable object, using default parameters.
name
- The atomic subordinate name to open.accessor
- The DataAccessable object that will be
called to open the random access.public NRandomAccessFile(java.lang.String name, DataAccessable accessor, int openFlags) throws java.io.IOException
Given an openFlags object, opens a subordinate random access through the specified DataAccessable object.
name
- The atomic subordinate name to open.accessor
- The DataAccessable object that will be
called to open the random access.openFlags
- The flags that are used in opening the
access in different modes.public NRandomAccessFile(java.lang.String name, DataAccessable accessor, int openFlags, int dataSelector) throws java.io.IOException
Given openFlags and dataSelector objects, opens a subordinate random access through the specified DataAccessable object.
name
- The atomic subordinate name to open.accessor
- The DataAccessable object that will be
called to open the access.openFlags
- The flags that are used in opening the
access in different modes.dataSelector
- An integral value that allows the
individual forks on a file to be
selected.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |