Class FileNameMappingFactory


  • public class FileNameMappingFactory
    extends java.lang.Object
    Provides access to FileNameMapping implementations.

    Two basic implementations are provided by default:

    • standard: the default implementation
    • full: an implementation that maps to a 'full' file name, i.e. containing the groupId
    Version:
    $Id: FileNameMappingFactory.java 1645331 2014-12-13 17:31:09Z khmarbaise $
    • Field Detail

      • STANDARD_FILE_NAME_MAPPING

        static final java.lang.String STANDARD_FILE_NAME_MAPPING
        See Also:
        Constant Field Values
      • FULL_FILE_NAME_MAPPING

        static final java.lang.String FULL_FILE_NAME_MAPPING
        See Also:
        Constant Field Values
      • NO_VERSION_FILE_NAME_MAPPING

        static final java.lang.String NO_VERSION_FILE_NAME_MAPPING
        See Also:
        Constant Field Values
      • NO_VERSION_FOR_EJB_FILE_NAME_MAPPING

        static final java.lang.String NO_VERSION_FOR_EJB_FILE_NAME_MAPPING
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileNameMappingFactory

        private FileNameMappingFactory()
    • Method Detail

      • getFileNameMapping

        public static FileNameMapping getFileNameMapping​(java.lang.String nameOrClass)
        Returns the file name mapping implementation based on a logical name of a fully qualified name of the class.
        Parameters:
        nameOrClass - a name of the fqn of the implementation
        Returns:
        the file name mapping implementation