ProGuard

proguard
Class DataEntryReaderFactory

java.lang.Object
  extended byproguard.DataEntryReaderFactory

public class DataEntryReaderFactory
extends Object

This class can create DataEntryReader instances based on class path entries. The readers will unwrap the input data entries from any jars, wars, ears, and zips, before passing them to a given reader.


Constructor Summary
DataEntryReaderFactory()
           
 
Method Summary
static DataEntryReader createDataEntryReader(String messagePrefix, ClassPathEntry classPathEntry, DataEntryReader reader)
          Creates a DataEntryReader that can read the given class path entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataEntryReaderFactory

public DataEntryReaderFactory()
Method Detail

createDataEntryReader

public static DataEntryReader createDataEntryReader(String messagePrefix,
                                                    ClassPathEntry classPathEntry,
                                                    DataEntryReader reader)
Creates a DataEntryReader that can read the given class path entry.

Parameters:
messagePrefix - a prefix for messages that are printed out.
classPathEntry - the input class path entry.
reader - a data entry reader to which the reading of actual class files and resource files can be delegated.
Returns:
a DataEntryReader for reading the given class path entry.

ProGuard