Class IdentityNameMapper

  • All Implemented Interfaces:
    NameMapper

    final class IdentityNameMapper
    extends java.lang.Object
    implements NameMapper
    NOP implementation of the name mapper.
    See Also:
    NameMapper
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTANCE

        public static final NameMapper INSTANCE
    • Constructor Detail

      • IdentityNameMapper

        private IdentityNameMapper()
    • Method Detail

      • map

        public java.lang.String map​(java.lang.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.