|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.io.DirectoryLister
public class DirectoryLister
Implementation of lister that list content of a system file directory.
Constructor Summary | |
---|---|
DirectoryLister(File dir,
Pattern filter)
Creates a new directory lister. |
|
DirectoryLister(File dir,
Pattern[] includes,
Pattern[] excludes)
Creates a new directory lister. |
Method Summary | |
---|---|
List<URL> |
list()
Returns a list of urls the lister knows about. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryLister(File dir, Pattern filter)
dir
- the base directory from where the files should be listedfilter
- filter to be used to filter entries from the directorypublic DirectoryLister(File dir, Pattern[] includes, Pattern[] excludes)
dir
- the base directory from where the files should be listedincludes
- filters to be used to include entries from the directoryexcludes
- filters to be used to exclude entries from the directoryMethod Detail |
---|
public List<URL> list() throws MalformedURLException
list
in interface Lister
MalformedURLException
- If an underlying problem occurs in the OSGi framework.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |