|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.resource.filesystem.heap.FileSystemResourceHeap
public final class FileSystemResourceHeap
Provides an implementation of ResourceHeap
based on a file system.
Constructor Summary | |
---|---|
FileSystemResourceHeap() |
Method Summary | |
---|---|
void |
addRootFolder(File rootFolder) Adds a root folder to check for property resources. |
de.smartics.properties.resource.domain.ArtifactId |
getDefaultArtifactId() Returns the artifact identifier to use for properties files encountered. |
de.smartics.properties.resource.domain.ClassPathEnvironment |
resolve() |
void |
setDefaultArtifactId(de.smartics.properties.resource.domain.ArtifactId defaultArtifactId) Sets the artifact identifier to use for properties files encountered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSystemResourceHeap()
Method Detail |
---|
public de.smartics.properties.resource.domain.ArtifactId getDefaultArtifactId()
public void setDefaultArtifactId(de.smartics.properties.resource.domain.ArtifactId defaultArtifactId)
defaultArtifactId
- the artifact identifier to use for properties files encountered.
public void addRootFolder(File rootFolder) throws NullPointerException, IllegalArgumentException
rootFolder
- the folder to add as a root to check for property resources.
NullPointerException
- if
rootFolder
is
null
.
IllegalArgumentException
- if
rootFolder
is not a directory.
public de.smartics.properties.resource.domain.ClassPathEnvironment resolve() throws de.smartics.properties.resource.heap.HeapException
resolve
in interface
de.smartics.properties.resource.heap.ResourceHeap
de.smartics.properties.resource.heap.HeapException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |