org.apache.commons.vfs.cache
Class FileSystemAndNameKey
java.lang.Object
org.apache.commons.vfs.cache.FileSystemAndNameKey
- All Implemented Interfaces:
- java.lang.Comparable
class FileSystemAndNameKey
- extends java.lang.Object
- implements java.lang.Comparable
Key for various cache implementations.
It compares the fileSystem (by hashCode) and the filename.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
- Author:
- Mario Ivankovits
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileSystem
private final FileSystem fileSystem
fileName
private final FileName fileName
fileSystemId
private final int fileSystemId
FileSystemAndNameKey
FileSystemAndNameKey(FileSystem fileSystem,
FileName fileName)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
getFileSystem
FileSystem getFileSystem()
getFileName
FileName getFileName()