Package proguard.resources.file.io
Class ResourceFileDataEntryReader
- java.lang.Object
-
- proguard.resources.file.io.ResourceFileDataEntryReader
-
- All Implemented Interfaces:
DataEntryReader
public class ResourceFileDataEntryReader extends java.lang.Object implements DataEntryReader
ThisDataEntryReader
creates plainResourceFile
instances for the data entries that it reads, and passes them to the givenResourceFileVisitor
.
-
-
Constructor Summary
Constructors Constructor Description ResourceFileDataEntryReader(ResourceFileVisitor resourceFileVisitor)
Creates a new ResourceFileDataEntryReaderResourceFileDataEntryReader(ResourceFileVisitor resourceFileVisitor, DataEntryFilter adaptedDataEntryFilter)
Creates a new ResourceFileDataEntryReader with the given filter that accepts data entries for resource files that need to be adapted.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read(DataEntry dataEntry)
Reads the given data entry.
-
-
-
Constructor Detail
-
ResourceFileDataEntryReader
public ResourceFileDataEntryReader(ResourceFileVisitor resourceFileVisitor)
Creates a new ResourceFileDataEntryReader
-
ResourceFileDataEntryReader
public ResourceFileDataEntryReader(ResourceFileVisitor resourceFileVisitor, DataEntryFilter adaptedDataEntryFilter)
Creates a new ResourceFileDataEntryReader with the given filter that accepts data entries for resource files that need to be adapted.
-
-
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
-
-