Serializable
public final class IFSFileDescriptor extends Object implements 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 | Description |
---|---|
IFSFileDescriptor() |
Constructs an IFSFileDescriptor object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
sync() |
Force the system buffers to synchronize with the underlying device.
|
boolean |
valid() |
Determines if this file descriptor represents an open file.
|
public IFSFileDescriptor()
public void sync() throws IOException
IOException
- If an error occurs while communicating with the system.public boolean valid()
Copyright © 2024. All rights reserved.