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

Quick Search    Search Deep

com.flexstor.common.io.xfile
Class FlexXRandomAccessFile  view FlexXRandomAccessFile download FlexXRandomAccessFile.java

java.lang.Object
  extended byXRandomAccessFile
      extended bycom.flexstor.common.io.xfile.FlexXRandomAccessFile

public class FlexXRandomAccessFile
extends XRandomAccessFile

This subclass of XRandomAccessFile 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


Constructor Summary
FlexXRandomAccessFile(FlexXFile xFile, java.lang.String mode)
           
FlexXRandomAccessFile(java.lang.String str, java.lang.String mode)
           
 
Method Summary
static java.lang.String checkForAccess(java.lang.String str, java.lang.String mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexXRandomAccessFile

public FlexXRandomAccessFile(FlexXFile xFile,
                             java.lang.String mode)
                      throws java.io.IOException

FlexXRandomAccessFile

public FlexXRandomAccessFile(java.lang.String str,
                             java.lang.String mode)
                      throws java.io.IOException
Method Detail

checkForAccess

public static java.lang.String checkForAccess(java.lang.String str,
                                              java.lang.String mode)