|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portaview.server.Repository
Represents a photo repository. A repository is a mechanism for the PortaView program to load the picutres from the disk.
Constructor Summary | |
Repository(java.io.File albumDir)
Creates a photo repository. |
Method Summary | |
Album |
getAlbum(java.lang.String name)
Returns an album with a particular name. |
java.io.File |
getAlbumDir()
|
java.util.List |
listAlbums()
Returns a List of Album that are available in the repository. |
void |
setAlbumDir(java.io.File albumDir)
Sets the album directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Repository(java.io.File albumDir)
albumDir
- Method Detail |
public java.io.File getAlbumDir()
public void setAlbumDir(java.io.File albumDir)
albumDir
- the album directorypublic java.util.List listAlbums()
public Album getAlbum(java.lang.String name)
name
- name of album
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |