Package proguard.io
Class PrefixStrippingDataEntryReader
- java.lang.Object
-
- proguard.io.PrefixStrippingDataEntryReader
-
- All Implemented Interfaces:
DataEntryReader
public class PrefixStrippingDataEntryReader extends java.lang.Object implements DataEntryReader
ThisDataEntryReaderdelegates to a givenDataEntryReader, each time stripping a possible prefix from the read data entry name.
-
-
Constructor Summary
Constructors Constructor Description PrefixStrippingDataEntryReader(java.lang.String prefix, DataEntryReader dataEntryReader)Creates a new PrefixStrippingDataEntryReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(DataEntry dataEntry)Reads the given data entry.
-
-
-
Constructor Detail
-
PrefixStrippingDataEntryReader
public PrefixStrippingDataEntryReader(java.lang.String prefix, DataEntryReader dataEntryReader)Creates a new PrefixStrippingDataEntryReader.
-
-
Method Detail
-
read
public void read(DataEntry dataEntry) throws java.io.IOException
Description copied from interface:DataEntryReaderReads the given data entry.- Specified by:
readin interfaceDataEntryReader- Throws:
java.io.IOException
-
-