org.xwt.mips
Class VM.RegularFileDescriptor

java.lang.Object
  extended byorg.xwt.mips.VM.FileDescriptor
      extended byorg.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 org.xwt.mips.VM.FileDescriptor
fileInfo, isatty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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