Package proguard.io
Class RenamedDataEntry
- java.lang.Object
-
- proguard.io.WrappedDataEntry
-
- proguard.io.RenamedDataEntry
-
- All Implemented Interfaces:
DataEntry
public class RenamedDataEntry extends WrappedDataEntry
ThisDataEntry
wraps another data entry, returning a different name instead of the wrapped data entry's name.
-
-
Field Summary
-
Fields inherited from class proguard.io.WrappedDataEntry
wrappedEntry
-
-
Constructor Summary
Constructors Constructor Description RenamedDataEntry(DataEntry dataEntry, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this data entry.java.lang.String
toString()
-
Methods inherited from class proguard.io.WrappedDataEntry
closeInputStream, getInputStream, getOriginalName, getParent, getSize, isDirectory
-
-
-
-
Constructor Detail
-
RenamedDataEntry
public RenamedDataEntry(DataEntry dataEntry, java.lang.String name)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:DataEntry
Returns the name of this data entry.- Specified by:
getName
in interfaceDataEntry
- Overrides:
getName
in classWrappedDataEntry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classWrappedDataEntry
-
-