Package org.javlo.image
Class Directory
- java.lang.Object
-
- org.javlo.image.FileSystemElement
-
- org.javlo.image.Directory
-
public class Directory extends FileSystemElement
- Author:
- pvanderm
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccess(Set passwords)intcountImages()FileSystemElement[]getAccessibleAll(Set passwords)Directory[]getAccessibleChild(Set password)FileSystemElement[]getAll()Directory[]getChild()Image[]getImages()SetgetPasswords()return a set with the password for acces to this directory.intlastPage(int imagesPerPage)-
Methods inherited from class org.javlo.image.FileSystemElement
getFullName, getId, getLinkName, getName
-
-
-
-
Constructor Detail
-
Directory
public Directory(String path) throws PathNotExistException
- Throws:
PathNotExistException
-
-
Method Detail
-
access
public boolean access(Set passwords)
-
getChild
public Directory[] getChild()
-
getAccessibleAll
public FileSystemElement[] getAccessibleAll(Set passwords)
-
getAll
public FileSystemElement[] getAll()
-
getImages
public Image[] getImages()
-
countImages
public int countImages()
-
lastPage
public int lastPage(int imagesPerPage)
-
getPasswords
public Set getPasswords()
return a set with the password for acces to this directory.- Returns:
- null if file not exist.
-
-