org.ibisph.resource
Class VerifiedFileSystemID
java.lang.Object
org.ibisph.resource.AbstractSystemID
org.ibisph.resource.FileSystemID
org.ibisph.resource.VerifiedFileSystemID
- All Implemented Interfaces:
- java.io.Serializable, SystemID
public class VerifiedFileSystemID
- extends FileSystemID
Verified file based System ID resource. Provides a confirmed system ID
string based on a java.io.File object or a complete filename and path
string which is used to open a file object.
- Author:
- Garth Braithwaite, STG
- See Also:
- Serialized Form
|
Method Summary |
static java.lang.String |
toString(java.lang.String pathAndFilename)
Helper that tries the specified path and filename as a file and if exists
uses the URI object to convert to a system ID String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VerifiedFileSystemID
public VerifiedFileSystemID(java.lang.String pathAndFilename)
VerifiedFileSystemID
public VerifiedFileSystemID(java.lang.String contextPath,
java.lang.String subPathAndFilename)
toString
public static java.lang.String toString(java.lang.String pathAndFilename)
- Helper that tries the specified path and filename as a file and if exists
uses the URI object to convert to a system ID String.
- Parameters:
pathAndFilename - Complete path and filename string to be verified
(file exists) and converted to a system id string.
- Returns:
- Verified file system ID string. If not found, then null.