public abstract class AbstractJarVisitor extends java.lang.Object implements JarVisitor
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
done |
protected java.net.URL |
jarUrl |
protected java.lang.String |
unqualifiedJarName |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJarVisitor(java.lang.String fileName,
Filter[] filters) |
protected |
AbstractJarVisitor(java.net.URL url,
Filter[] filters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addElement(java.lang.String entryName,
java.io.InputStream is,
java.io.InputStream secondIs) |
protected abstract void |
doProcessElements() |
Filter[] |
getFilters() |
java.util.Set[] |
getMatchingEntries()
Return the matching entries for each filter in the same order the filter where passed
|
java.lang.String |
getUnqualifiedJarName()
Get the unqualified Jar name (ie wo path and wo extension)
|
protected void |
unqualify() |
protected java.lang.String unqualifiedJarName
protected java.net.URL jarUrl
protected boolean done
protected AbstractJarVisitor(java.lang.String fileName,
Filter[] filters)
protected AbstractJarVisitor(java.net.URL url,
Filter[] filters)
protected void unqualify()
public java.lang.String getUnqualifiedJarName()
getUnqualifiedJarName in interface JarVisitorpublic Filter[] getFilters()
getFilters in interface JarVisitorpublic java.util.Set[] getMatchingEntries()
throws java.io.IOException
getMatchingEntries in interface JarVisitorjava.io.IOException - if something went wrongprotected abstract void doProcessElements()
throws java.io.IOException
java.io.IOExceptionprotected final void addElement(java.lang.String entryName,
java.io.InputStream is,
java.io.InputStream secondIs)
throws java.io.IOException
java.io.IOExceptionCopyright © 2013. All Rights Reserved.