com.mchange.v3.filecache
Class RelativePathFileCacheKey

java.lang.Object
  extended by com.mchange.v3.filecache.RelativePathFileCacheKey
All Implemented Interfaces:
FileCacheKey

public class RelativePathFileCacheKey
extends java.lang.Object
implements FileCacheKey


Constructor Summary
RelativePathFileCacheKey(java.net.URL parentURL, java.lang.String relPath)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getCacheFilePath()
           
 java.net.URL getURL()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativePathFileCacheKey

public RelativePathFileCacheKey(java.net.URL parentURL,
                                java.lang.String relPath)
                         throws java.net.MalformedURLException,
                                java.lang.IllegalArgumentException
Throws:
java.net.MalformedURLException
java.lang.IllegalArgumentException
Method Detail

getURL

public java.net.URL getURL()
Specified by:
getURL in interface FileCacheKey

getCacheFilePath

public java.lang.String getCacheFilePath()
Specified by:
getCacheFilePath in interface FileCacheKey

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface FileCacheKey
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface FileCacheKey
Overrides:
hashCode in class java.lang.Object