public final class ContextName extends Object
| Constructor and Description |
|---|
ContextName(String name)
Deprecated.
|
ContextName(String name,
boolean stripFileExtension)
Creates an instance from a context name, display name, base name,
directory name, WAR name or context.xml name.
|
ContextName(String path,
String version)
Construct an instance from a path and version.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName() |
String |
getDisplayName() |
String |
getName() |
String |
getPath() |
String |
getVersion() |
String |
toString() |
@Deprecated public ContextName(String name)
ContextName(String, boolean)name - The name to use as the basis for this objectpublic ContextName(String name, boolean stripFileExtension)
name - The name to use as the basis for this objectstripFileExtension - If a .war or .xml file extension is present
at the end of the provided name should it be
removed?Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.