Package proguard.io
Class PrefixStrippingDataEntryReader
- java.lang.Object
-
- proguard.io.PrefixStrippingDataEntryReader
-
- All Implemented Interfaces:
DataEntryReader
public class PrefixStrippingDataEntryReader extends java.lang.Object implements DataEntryReader
ThisDataEntryReader
delegates 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 void
read(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:DataEntryReader
Reads the given data entry.- Specified by:
read
in interfaceDataEntryReader
- Throws:
java.io.IOException
-
-