|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.chaosserver.bilbo.data.Directory
Directory object represents the mappings contained in a single directory.
Holds a collection of FilenameMapping objects that represent the files in the directory that need to be mapped.
Field Summary | |
protected Collection |
filenameMappings
Holds the collection of FilenameMappings in this directory. |
Constructor Summary | |
Directory()
Default constructor. |
Method Summary | |
void |
addFilenameMapping(FilenameMapping filenameMapping)
Adds a new FilenameMapping object to this directory. |
FilenameMapping |
findFilenameMapping(String style,
String value)
Finds a FilenameMapping held in this Directory. |
Collection |
getFilenameMappings()
Getter method for the filename mappings. |
void |
setFilenameMappings(Collection filenameMappings)
Setter method for the filename mappings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Collection filenameMappings
Constructor Detail |
public Directory()
Method Detail |
public void setFilenameMappings(Collection filenameMappings)
filenameMappings
- the value of filenameMappingspublic Collection getFilenameMappings()
public void addFilenameMapping(FilenameMapping filenameMapping)
filenameMapping
- the new FilenameMapping to addpublic FilenameMapping findFilenameMapping(String style, String value) throws FilenameMappingNotFoundException
style
- the style of the filename being searched forvalue
- the value of the filename being searched for
FilenameMappingNotFoundException
- if the mapping cannot be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |