com.vladium.util
Class IPathEnumerator.Factory.PathEnumerator

java.lang.Object
  extended by com.vladium.util.IPathEnumerator.Factory.PathEnumerator
All Implemented Interfaces:
IPathEnumerator
Enclosing class:
IPathEnumerator.Factory

private static final class IPathEnumerator.Factory.PathEnumerator
extends java.lang.Object
implements IPathEnumerator


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vladium.util.IPathEnumerator
IPathEnumerator.Factory, IPathEnumerator.IPathHandler
 
Field Summary
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 Summary
IPathEnumerator.Factory.PathEnumerator(java.io.File[] path, boolean canonical, IPathEnumerator.IPathHandler handler)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_path

private final java.util.ArrayList m_path

m_canonical

private final boolean m_canonical

m_pathSet

private final java.util.Set m_pathSet

m_handler

private final IPathEnumerator.IPathHandler m_handler

m_processManifest

private final boolean m_processManifest

m_log

private final Logger m_log

m_verbose

private boolean m_verbose

m_trace1

private boolean m_trace1

m_pathIndex

private int m_pathIndex

m_currentPathDir

private java.io.File m_currentPathDir

IGNORE_INVALID_ENTRIES

private static final boolean IGNORE_INVALID_ENTRIES
See Also:
Constant Field Values
Constructor Detail

IPathEnumerator.Factory.PathEnumerator

IPathEnumerator.Factory.PathEnumerator(java.io.File[] path,
                                       boolean canonical,
                                       IPathEnumerator.IPathHandler handler)
Method Detail

enumerate

public void enumerate()
               throws java.io.IOException
Specified by:
enumerate in interface IPathEnumerator
Throws:
java.io.IOException

enumeratePathDir

private void enumeratePathDir(java.lang.String dir)
                       throws java.io.IOException
Throws:
java.io.IOException

enumeratePathArchive

private void enumeratePathArchive(java.lang.String archive)
                           throws java.io.IOException
Throws:
java.io.IOException

readManifestViaJarFile

private static java.util.jar.Manifest readManifestViaJarFile(java.io.File archive)