Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.io.xfile.webnfs
Class WebNfsBufferedInputStream  view WebNfsBufferedInputStream download WebNfsBufferedInputStream.java

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byjava.io.BufferedInputStream
              extended bycom.flexstor.common.io.xfile.webnfs.WebNfsBufferedInputStream
All Implemented Interfaces:
java.io.Closeable

public class WebNfsBufferedInputStream
extends java.io.BufferedInputStream

This subclass of XFileInputStream overwrites the constructors which otherwise will fail if: - The protocol used is a NFS URL and the path specified is mounted from another server OR - The path contains some escape codes and special characters that must be preserved. Inside the constructors we first determine if the path is local to the JVM server; if so, then we replace special characters in the path with its respective escape code. David C. 03/02/00


Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
WebNfsBufferedInputStream(java.lang.String str)
           
WebNfsBufferedInputStream(WebNfsFile xFile)
           
WebNfsBufferedInputStream(WebNfsFile file, int bufferSize)
           
 
Method Summary
static java.lang.String checkForAccess(WebNfsFile file)
           
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
 
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
 

Constructor Detail

WebNfsBufferedInputStream

public WebNfsBufferedInputStream(WebNfsFile xFile)
                          throws java.io.IOException

WebNfsBufferedInputStream

public WebNfsBufferedInputStream(java.lang.String str)
                          throws java.io.IOException

WebNfsBufferedInputStream

public WebNfsBufferedInputStream(WebNfsFile file,
                                 int bufferSize)
                          throws java.io.IOException
Method Detail

checkForAccess

public static java.lang.String checkForAccess(WebNfsFile file)