org.xwt.mips
Class VM.RegularFileDescriptor
java.lang.Object
org.xwt.mips.VM.FileDescriptor
org.xwt.mips.VM.RegularFileDescriptor
- Enclosing class:
- VM
- public static class VM.RegularFileDescriptor
- extends VM.FileDescriptor
Method Summary |
int |
read(byte[] a,
int off,
int length)
|
boolean |
readable()
|
int |
seek(int n,
int whence)
|
boolean |
writable()
|
int |
write(byte[] a,
int off,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readable
public boolean readable()
- Overrides:
readable
in class VM.FileDescriptor
writable
public boolean writable()
- Overrides:
writable
in class VM.FileDescriptor
seek
public int seek(int n,
int whence)
throws java.io.IOException
- Overrides:
seek
in class VM.FileDescriptor
- Throws:
java.io.IOException
write
public int write(byte[] a,
int off,
int length)
throws java.io.IOException
- Overrides:
write
in class VM.FileDescriptor
- Throws:
java.io.IOException
read
public int read(byte[] a,
int off,
int length)
throws java.io.IOException
- Overrides:
read
in class VM.FileDescriptor
- Throws:
java.io.IOException