edu.isi.stella.javalib
Class NativeFileInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.PushbackInputStream
              extended by edu.isi.stella.javalib.NativeFileInputStream
All Implemented Interfaces:
java.io.Closeable

public class NativeFileInputStream
extends java.io.PushbackInputStream


Field Summary
 java.nio.channels.FileChannel channel
           
 
Fields inherited from class java.io.PushbackInputStream
buf, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
NativeFileInputStream(java.lang.String filename)
           
 
Method Summary
static NativeFileInputStream open(java.lang.String filename)
           
 long position()
           
 long position(long newPosition)
           
 
Methods inherited from class java.io.PushbackInputStream
available, close, mark, markSupported, read, read, reset, skip, unread, unread, unread
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

channel

public java.nio.channels.FileChannel channel
Constructor Detail

NativeFileInputStream

public NativeFileInputStream(java.lang.String filename)
                      throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

open

public static NativeFileInputStream open(java.lang.String filename)

position

public long position()

position

public long position(long newPosition)