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 classPathnameParser.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 booleanisFullPath()booleanisRoot()booleanisWild()return true if any part of the path includes a wildcardStringname()StringparentPath()static StringparentPath(ObjectName objectName)List<PathnameParser.PathPart>parts()static Stringpath(String parentPath, String type, String name)static StringpathPart(String type)static StringpathPart(String type, String name)StringtoString()Stringtype()
-
-
-
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)
-
-