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

Quick Search    Search Deep

com.flexstor.common.io.file.* (3)com.flexstor.common.io.xfile.* (51)

com.flexstor.common.io: Javadoc index of package com.flexstor.common.io.


Package Samples:

com.flexstor.common.io.xfile
com.flexstor.common.io.xfile.webnfs
com.flexstor.common.io.xfile.webnfs.filters
com.flexstor.common.io.xfile.unc
com.flexstor.common.io.xfile.unc.filters
com.flexstor.common.io.xfile.parsers
com.flexstor.common.io.xfile.ftp
com.flexstor.common.io.xfile.ftp.filters
com.flexstor.common.io.xfile.filters
com.flexstor.common.io.file.filters

Classes:

MacBinaryAccessFile: Instances of this class allow both reading and writing to a MacBinary file. This class provides method for reading and writing all fields required in the header of a MacBinary file, as well as access to reding and writing the data fork and resource fork. The MacBinary file created complies with the Macintosh Binary Transfer Format ("MacBinary III") Standard Proposal as of December of 1996. Offset Length Contents ------ ------ -------- 000 Byte old version number, must be kept at zero for compatibility 001 Byte Length of filename (must be in the range 1-31) 002 1-63 Bytes filename (only "length" ...
XFileCopy: XFileCopy provides three methods for copying files. A first method will copy the file to a location and with a different name; another method is available, that will copy the file to a destination preserving the file name in the new location; and a third method is available that will copy a chain of bytes to a file. XFileCopy supports the situation where both source and destination are local, both remote or one local and the other remote. The remote file protocol to use is specified by the remoteFileProtocol property in the appserver section of the flexstordb.properties configuration file.
FlexXFile: This subclass of XFile overwrites some methods 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 these overwriten methods we first determine if the path is a NFS URL; if it is, use the super class method; if that fails and the file is local to the JVM server we create a new XFile instance (not FlexXFile) with a local path as argument where all special characters have been replaced. David C. 03/01/00
WebNfsFile: This subclass of XFile overwrites some methods 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 these overwriten methods we first determine if the path is a NFS URL; if it is, use the super class method; if that fails and the file is local to the JVM server we create a new XFile instance (not FlexXFile) with a local path as argument where all special characters have been replaced. David C. 03/01/00
InternalFileLock: InternalFileLock implements a cooperative file locking protocol within the same JVM. This will prevent two threads in the same JVM to access the same file at the same time. Once the JVM is exited, the locks are all cleared. This class do nothing at the file system level; therefore it cannot be used across JVMs This class is made a singleton so it can use wait() and notify(), but nobody will have access to the instance; so for the outside world, it should be treated as a statc class
FlexXRandomAccessFile: 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
WebNfsBufferedOutputStream: 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
WebNfsBufferedInputStream: 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
WebNfsBufferedReader: This subclass of XFileReader 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
WebNfsBufferedWriter: This subclass of XFileWriter 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
XFileDelete: XFileDelete has the capability to delete files and directories both local and remote. Overloaded methods are provided to enable the deletion of a directory, if the file to delete is the only one in that directory; and to recursively delete directories if a request to delete a directory is requested.
WebNfsMove: WebNfsMove uses WebNFS to copy files from one filesystem to another; then it deletes the original file. This Class assumes that all paths will be preceded by nfs:// if on another filesystem. It will make no attempt at determining if the path is local or on another server.
XFileMove: XFileMove contain two methods for moving files in a local or remote file system. A move method is implemented that moves the file from one place to another, changing its name as it is moved to its destination; another method will move the file preserving its original name.
WebNfsCopy: WebNfsCopy uses WebNFS to copy files from one filesystem to another This Class assumes that all paths will be preceded by nfs:// if on another filesystem. It will make no attempt at determining if the path is local or on another server.
WebNfsDelete: WebNfsDelete uses WebNFS to delete files from the filesystem This Class assumes that all paths will be preceded by nfs:// if on another filesystem. It will make no attempt at determining if the path is local or on another server.
WebNfsExtFilter: WebNFSXExtFilter A FileNameFilter used to filter out files based on the given extension. (e.g. files ending with .cfg would be filtered by new ExtFilter("cfg") )
XFileDeleteI: This interface defines all the methods to be implemented by a delete utility for a specific file protocol. Every file protocol must have a delete utility class.
UncExtFilter: UNCXExtFilter A FileNameFilter used to filter out files based on the given extension. (e.g. files ending with .cfg would be filtered by new ExtFilter("cfg") )
XFileCopyI: This interface defines all the methods to be implemented by a copy utility for a specific file protocol. Every file protocol must have a copy utility class.
XFileMoveI: This interface defines all the methods to be implemented by a move utility for a specific file protocol. Every file protocol must have a move utility class.
XExtFilter: XExtFilter A FileNameFilter used to filter out files based on the given extension. (e.g. files ending with .cfg would be filtered by new ExtFilter("cfg") )
XFileAccessorFactory: XFileAccessor verifies that a file can be reached. It checks that the file protocol is valid and that credentials, if set, are also valid.
XDirFilter: DIRFilter Filters out all files, and accepts only directories used when Browsing for images locations.
UncDirFilter: DIRFilter Filters out all files, and accepts only directories used when Browsing for images locations.
WebNfsDirFilter: DIRFilter Filters out all files, and accepts only directories used when Browsing for images locations.

Home | Contact Us | Privacy Policy | Terms of Service