Interface FileMapper

All Known Implementing Classes:
AbstractFileMapper, FileExtensionMapper, FlattenFileMapper, IdentityMapper, MergeFileMapper, PrefixFileMapper, RegExpFileMapper, SuffixFileMapper

public interface FileMapper
Interface of a component, which may be used to map file names.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default role-hint: "default".
    static final String
    Role used to register component implementations with the container.
  • Method Summary

    Modifier and Type
    Method
    Description
    Maps the given source name to a target name.
  • Field Details

    • ROLE

      static final String ROLE
      Role used to register component implementations with the container.
    • DEFAULT_ROLE_HINT

      static final String DEFAULT_ROLE_HINT
      The default role-hint: "default".
      See Also:
  • Method Details

    • getMappedFileName

      String getMappedFileName(String pName)
      Maps the given source name to a target name.
      Parameters:
      pName - The source name.
      Returns:
      The target name.
      Throws:
      IllegalArgumentException - The source name is null or empty.