This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static class | RelativePath.
Used to represent a platform-neutral subdirectory within a platform-specific container, such as a directory or zip file. |
| public static class | RelativePath.
Used to represent a platform-neutral file within a platform-specific container, such as a directory or zip file. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | |
| public int | compareTo(RelativePath other)
Implements java. Compares this object with the specified object for order. |
| public abstract RelativePath. | |
| public boolean | equals(Object other)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public int | |
| public Path | |
| public Path | |
| public String |
| path | back to summary |
|---|---|
| protected final String path | |
| RelativePath | back to summary |
|---|---|
protected RelativePath(String p)
| |
| basename | back to summary |
|---|---|
| public abstract String basename() | |
| compareTo | back to summary |
|---|---|
| public int compareTo(RelativePath other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| dirname | back to summary |
|---|---|
| public abstract RelativePath. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getPath | back to summary |
|---|---|
| public String getPath() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| resolveAgainst | back to summary |
|---|---|
| public Path resolveAgainst(Path directory) throws InvalidPathException | |
| resolveAgainst | back to summary |
|---|---|
| public Path resolveAgainst(FileSystem fs) throws InvalidPathException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| pack-priv boolean | |
| public RelativePath. | |
| pack-priv static RelativePath. | |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| RelativeDirectory | back to summary |
|---|---|
public RelativeDirectory(String p)
| |
| RelativeDirectory | back to summary |
|---|---|
public RelativeDirectory(RelativePath.
| |
| basename | back to summary |
|---|---|
| public String basename() Implements abstract com.
| |
| contains | back to summary |
|---|---|
| pack-priv boolean contains(RelativePath other) Return true if this subdirectory "contains" the other path. A subdirectory path does not contain itself. | |
| dirname | back to summary |
|---|---|
| public RelativePath. Implements abstract com.
| |
| forPackage | back to summary |
|---|---|
| pack-priv static RelativePath. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public RelativePath. | |
| pack-priv static RelativePath. | |
| pack-priv ZipEntry | |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| RelativeFile | back to summary |
|---|---|
| public RelativeFile(String p) | |
| RelativeFile | back to summary |
|---|---|
public RelativeFile(RelativePath.
| |
| RelativeFile | back to summary |
|---|---|
| pack-priv RelativeFile(RelativePath. | |
| basename | back to summary |
|---|---|
| public String basename() Implements abstract com.
| |
| dirname | back to summary |
|---|---|
| public RelativePath. Implements abstract com.
| |
| forClass | back to summary |
|---|---|
| pack-priv static RelativePath. | |
| getZipEntry | back to summary |
|---|---|
| pack-priv ZipEntry getZipEntry(ZipFile zip) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |