Class IdentityNameMapper

java.lang.Object
org.zeroturnaround.zip.IdentityNameMapper
All Implemented Interfaces:
NameMapper

final class IdentityNameMapper extends Object implements NameMapper
NOP implementation of the name mapper.
See Also:
  • Field Details

    • INSTANCE

      public static final NameMapper INSTANCE
  • Constructor Details

    • IdentityNameMapper

      private IdentityNameMapper()
  • Method Details

    • map

      public String map(String name)
      Specified by:
      map in interface NameMapper
      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.