Package org.glassfish.admin.amx.core
Class PathnameParser
- java.lang.Object
-
- org.glassfish.admin.amx.core.PathnameParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PathnameParser.PathPart
-
Constructor Summary
Constructors Constructor Description PathnameParser(String path)
PathnameParser(String path, char delim, char nameLeft, char nameRight)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFullPath()
boolean
isRoot()
boolean
isWild()
return true if any part of the path includes a wildcardString
name()
String
parentPath()
static String
parentPath(ObjectName objectName)
List<PathnameParser.PathPart>
parts()
static String
path(String parentPath, String type, String name)
static String
pathPart(String type)
static String
pathPart(String type, String name)
String
toString()
String
type()
-
-
-
Method Detail
-
isFullPath
public boolean isFullPath()
-
isRoot
public boolean isRoot()
-
isWild
public boolean isWild()
return true if any part of the path includes a wildcard
-
parts
public List<PathnameParser.PathPart> parts()
-
type
public String type()
-
name
public String name()
-
parentPath
public String parentPath()
-
parentPath
public static String parentPath(ObjectName objectName)
-
-