org.apache.maven.plugin.ear.output
Class FileNameMappingFactory

java.lang.Object
  extended by org.apache.maven.plugin.ear.output.FileNameMappingFactory

public class FileNameMappingFactory
extends Object

Provides access to FileNameMapping implementations.

Two basic implementations are provided by default:

Version:
$Id: FileNameMappingFactory.java 1368659 2012-08-02 19:28:23Z snicoll $
Author:
Stephane Nicoll

Method Summary
static FileNameMapping getDefaultFileNameMapping()
           
static FileNameMapping getFileNameMapping(String nameOrClass)
          Returns the file name mapping implementation based on a logical name of a fully qualified name of the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultFileNameMapping

public static FileNameMapping getDefaultFileNameMapping()

getFileNameMapping

public static FileNameMapping getFileNameMapping(String nameOrClass)
                                          throws 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:
IllegalStateException - if the implementation is not found


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.