java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
checkForAccess
public static java.lang.String checkForAccess(WebNfsFile file)