| Constructor and Description |
|---|
ZipLister(URL baseURL,
Enumeration<? extends ZipEntry> zipEntries,
Pattern filter)
Creates a zip lister.
|
ZipLister(URL baseURL,
Enumeration<? extends ZipEntry> zipEntries,
Pattern[] includes,
Pattern[] excludes)
Creates a zip lister.
|
| Modifier and Type | Method and Description |
|---|---|
List<URL> |
list()
Returns a list of urls the lister knows about.
|
public ZipLister(URL baseURL, Enumeration<? extends ZipEntry> zipEntries, Pattern filter)
baseURL - the url from which the zip file was createdzipEntries - the zip file to be listed.filter - filter to be used to filter entries from the zippublic ZipLister(URL baseURL, Enumeration<? extends ZipEntry> zipEntries, Pattern[] includes, Pattern[] excludes)
baseURL - the url from which the zip file was createdzipEntries - the zip file to be listed.includes - filters to be used to include entries from the directoryexcludes - filters to be used to exclude entries from the directorypublic List<URL> list() throws MalformedURLException
list in interface ListerMalformedURLException - If an underlying problem occurs in the OSGi framework.Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.