Interface NameMapper

  • All Known Implementing Classes:
    IdentityNameMapper

    public interface NameMapper
    Call-back for filtering and renaming ZIP entries while packing or unpacking.
    See Also:
    ZipUtil
    • Method Detail

      • map

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