private static final class IPathEnumerator.Factory.PathEnumerator extends java.lang.Object implements IPathEnumerator
IPathEnumerator.Factory, IPathEnumerator.IPathHandler
Modifier and Type | Field and Description |
---|---|
private static boolean |
IGNORE_INVALID_ENTRIES |
private boolean |
m_canonical |
private java.io.File |
m_currentPathDir |
private IPathEnumerator.IPathHandler |
m_handler |
private Logger |
m_log |
private java.util.ArrayList |
m_path |
private int |
m_pathIndex |
private java.util.Set |
m_pathSet |
private boolean |
m_processManifest |
private boolean |
m_trace1 |
private boolean |
m_verbose |
Constructor and Description |
---|
PathEnumerator(java.io.File[] path,
boolean canonical,
IPathEnumerator.IPathHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
enumerate() |
private void |
enumeratePathArchive(java.lang.String archive) |
private void |
enumeratePathDir(java.lang.String dir) |
private static java.util.jar.Manifest |
readManifestViaJarFile(java.io.File archive) |
private final java.util.ArrayList m_path
private final boolean m_canonical
private final java.util.Set m_pathSet
private final IPathEnumerator.IPathHandler m_handler
private final boolean m_processManifest
private final Logger m_log
private boolean m_verbose
private boolean m_trace1
private int m_pathIndex
private java.io.File m_currentPathDir
private static final boolean IGNORE_INVALID_ENTRIES
PathEnumerator(java.io.File[] path, boolean canonical, IPathEnumerator.IPathHandler handler)
public void enumerate() throws java.io.IOException
enumerate
in interface IPathEnumerator
java.io.IOException
private void enumeratePathDir(java.lang.String dir) throws java.io.IOException
java.io.IOException
private void enumeratePathArchive(java.lang.String archive) throws java.io.IOException
java.io.IOException
private static java.util.jar.Manifest readManifestViaJarFile(java.io.File archive)