Package org.zeroturnaround.zip
Class IdentityNameMapper
- java.lang.Object
-
- org.zeroturnaround.zip.IdentityNameMapper
-
- All Implemented Interfaces:
NameMapper
final class IdentityNameMapper extends java.lang.Object implements NameMapper
NOP implementation of the name mapper.- See Also:
NameMapper
-
-
Field Summary
Fields Modifier and Type Field Description static NameMapper
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
IdentityNameMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
map(java.lang.String name)
-
-
-
Field Detail
-
INSTANCE
public static final NameMapper INSTANCE
-
-
Method Detail
-
map
public java.lang.String map(java.lang.String name)
- Specified by:
map
in interfaceNameMapper
- Parameters:
name
- original name.- Returns:
- name to be stored in the ZIP file or the destination directory,
null
means that the entry will be skipped.
-
-