org.apache.maven.plugin.ear.output
Class FileNameMappingFactory
java.lang.Object
org.apache.maven.plugin.ear.output.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 485857 2006-12-11 20:34:39Z snicoll $
- Author:
- Stephane Nicoll
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STANDARD_FILE_NAME_MAPPING
public static final java.lang.String STANDARD_FILE_NAME_MAPPING
- See Also:
- Constant Field Values
FULL_FILE_NAME_MAPPING
public static final java.lang.String FULL_FILE_NAME_MAPPING
- See Also:
- Constant Field Values
INSTANCE
public static final FileNameMappingFactory INSTANCE
getDefaultFileNameMapping
public FileNameMapping getDefaultFileNameMapping()
getFileNameMapping
public FileNameMapping getFileNameMapping(java.lang.String nameOrClass)
throws java.lang.IllegalStateException
- 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
- Throws:
java.lang.IllegalStateException
- if the implementation is not found
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.