Class MapperUtil
- java.lang.Object
-
- org.apache.maven.shared.model.fileset.mappers.MapperUtil
-
public final class MapperUtil extends java.lang.ObjectElement to define a FileNameMapper.- Version:
- $Id: MapperUtil.java 1721672 2015-12-25 13:18:36Z khmarbaise $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Propertiesimplementationsprivate static java.lang.StringMAPPER_PROPERTIES
-
Constructor Summary
Constructors Modifier Constructor Description privateMapperUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileNameMappergetFileNameMapper(Mapper mapper)Returns a fully configured FileNameMapper implementation.private static voidinitializeBuiltIns()Initializes a properties object to store the built-in classnames.
-
-
-
Field Detail
-
MAPPER_PROPERTIES
private static final java.lang.String MAPPER_PROPERTIES
- See Also:
- Constant Field Values
-
implementations
private static java.util.Properties implementations
-
-
Method Detail
-
initializeBuiltIns
private static void initializeBuiltIns()
Initializes a properties object to store the built-in classnames.
-
getFileNameMapper
public static FileNameMapper getFileNameMapper(Mapper mapper) throws MapperException
Returns a fully configured FileNameMapper implementation.- Parameters:
mapper-Mapper- Returns:
FileNameMapper- Throws:
MapperException- in case of an error.
-
-