* Provide a getter for the repository's directory.

This commit is contained in:
hns 2005-08-25 10:13:22 +00:00
parent af84ec19c9
commit 37574fbdfd

View file

@ -185,6 +185,13 @@ public class FileRepository extends AbstractRepository {
return new FileResource(new File(directory, name), this);
}
/**
* Get the repository's directory
*/
public File getDirectory() {
return directory;
}
public int hashCode() {
return 17 + (37 * directory.hashCode());
}