public final class IFSFileDescriptor
extends java.lang.Object
implements java.io.Serializable
AS400 as400 = new AS400("mySystem"); IFSFileInputStream is1 = new IFSFileInputStream(as400, "/Dir/File"); IFSFileInputStream is2 = new IFSFileInputStream(is1.getFD());Reading in one object advances the current file position of all objects that share the same descriptor.
Constructor and Description |
---|
IFSFileDescriptor()
Constructs an IFSFileDescriptor object.
|
public IFSFileDescriptor()
public void sync() throws java.io.IOException
java.io.IOException
- If an error occurs while communicating with the system.public boolean valid()