public class FileNameMappingFactory
extends java.lang.Object
FileNameMapping implementations.
Two basic implementations are provided by default:
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.String |
FULL_FILE_NAME_MAPPING |
(package private) static java.lang.String |
NO_VERSION_FILE_NAME_MAPPING |
(package private) static java.lang.String |
NO_VERSION_FOR_EJB_FILE_NAME_MAPPING |
(package private) static java.lang.String |
STANDARD_FILE_NAME_MAPPING |
| Modifier | Constructor and Description |
|---|---|
private |
FileNameMappingFactory() |
| Modifier and Type | Method and Description |
|---|---|
static FileNameMapping |
getDefaultFileNameMapping() |
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.
|
static final java.lang.String STANDARD_FILE_NAME_MAPPING
static final java.lang.String FULL_FILE_NAME_MAPPING
static final java.lang.String NO_VERSION_FILE_NAME_MAPPING
static final java.lang.String NO_VERSION_FOR_EJB_FILE_NAME_MAPPING
public static FileNameMapping getDefaultFileNameMapping()
StandardFileNameMappingpublic static FileNameMapping getFileNameMapping(java.lang.String nameOrClass)
nameOrClass - a name of the fqn of the implementation