proguard
Class InputReader

java.lang.Object
  extended by proguard.InputReader

public class InputReader
extends java.lang.Object

This class reads the input class files.


Constructor Summary
InputReader(Configuration configuration)
          Creates a new InputReader to read input class files as specified by the given configuration.
 
Method Summary
 void execute(ClassPool programClassPool, ClassPool libraryClassPool)
          Fills the given program class pool and library class pool by reading class files, based on the current configuration.
 void readInput(java.lang.String messagePrefix, ClassPath classPath, int fromIndex, int toIndex, DataEntryReader reader)
          Reads all input entries from the given section of the given class path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputReader

public InputReader(Configuration configuration)
Creates a new InputReader to read input class files as specified by the given configuration.

Method Detail

execute

public void execute(ClassPool programClassPool,
                    ClassPool libraryClassPool)
             throws java.io.IOException
Fills the given program class pool and library class pool by reading class files, based on the current configuration.

Throws:
java.io.IOException

readInput

public void readInput(java.lang.String messagePrefix,
                      ClassPath classPath,
                      int fromIndex,
                      int toIndex,
                      DataEntryReader reader)
               throws java.io.IOException
Reads all input entries from the given section of the given class path.

Throws:
java.io.IOException