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 WebNfsBufferedOutputStream  view WebNfsBufferedOutputStream download WebNfsBufferedOutputStream.java

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byjava.io.BufferedOutputStream
              extended bycom.flexstor.common.io.xfile.webnfs.WebNfsBufferedOutputStream

public class WebNfsBufferedOutputStream
extends java.io.BufferedOutputStream

This subclass of XFileOutputStream 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.BufferedOutputStream
buf, count
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
WebNfsBufferedOutputStream(java.lang.String str)
           
WebNfsBufferedOutputStream(java.lang.String str, boolean append)
           
WebNfsBufferedOutputStream(WebNfsFile xFile)
           
WebNfsBufferedOutputStream(WebNfsFile xFile, boolean append)
           
WebNfsBufferedOutputStream(WebNfsFile xFile, int bufferSize)
           
 
Method Summary
static java.lang.String checkForAccess(WebNfsFile file)
           
 
Methods inherited from class java.io.BufferedOutputStream
flush, write, write
 
Methods inherited from class java.io.FilterOutputStream
close, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebNfsBufferedOutputStream

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

WebNfsBufferedOutputStream

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

WebNfsBufferedOutputStream

public WebNfsBufferedOutputStream(WebNfsFile xFile,
                                  int bufferSize)
                           throws java.io.IOException

WebNfsBufferedOutputStream

public WebNfsBufferedOutputStream(WebNfsFile xFile,
                                  boolean append)
                           throws java.io.IOException

WebNfsBufferedOutputStream

public WebNfsBufferedOutputStream(java.lang.String str,
                                  boolean append)
                           throws java.io.IOException
Method Detail

checkForAccess

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