public class BasicPath extends Object implements ArchivePath, Comparable<ArchivePath>
SEPARATOR, SEPARATOR_STRING| Constructor and Description |
|---|
BasicPath()
Creates a new Path representing the root context
|
BasicPath(ArchivePath basePath,
ArchivePath context)
Creates a new Path using the specified base and specified relative context.
|
BasicPath(ArchivePath basePath,
String context)
Creates a new Path using the specified base and specified relative context.
|
BasicPath(String context)
Creates a new Path with the specified context
|
BasicPath(String basePath,
ArchivePath context)
Creates a new Path using the specified base and specified relative context.
|
BasicPath(String basePath,
String context)
Creates a new Path using the specified base and specified relative context.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ArchivePath path) |
boolean |
equals(Object obj) |
String |
get() |
ArchivePath |
getParent() |
int |
hashCode() |
String |
toString() |
public BasicPath()
public BasicPath(String context)
context - The context which this path represents. Null or blank represents the root. Relative paths will be
adjusted to absolute form.public BasicPath(ArchivePath basePath, ArchivePath context)
basePath - context - public BasicPath(ArchivePath basePath, String context)
basePath - context - public BasicPath(String basePath, ArchivePath context)
basePath - context - public String get()
get in interface ArchivePathArchivePath.get()public ArchivePath getParent()
getParent in interface ArchivePathArchivePath.getParent()public int compareTo(ArchivePath path)
compareTo in interface Comparable<ArchivePath>Comparable.compareTo(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2016 JBoss by Red Hat. All rights reserved.