public final class PackagePartName extends Object implements Comparable<PackagePartName>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PackagePartName otherPartName)
Compare two part name following the rule M1.12 :
Part name equivalence is determined by comparing part names as
case-insensitive ASCII strings.
|
boolean |
equals(Object otherPartName)
Part name equivalence is determined by comparing part names as
case-insensitive ASCII strings.
|
String |
getExtension()
Retrieves the extension of the part name if any.
|
String |
getName()
Get this part name.
|
URI |
getURI()
Part name property getter.
|
int |
hashCode() |
boolean |
isRelationshipPartURI()
Know if this part name is a relationship part name.
|
String |
toString() |
public boolean isRelationshipPartURI()
true
if this part name respect the relationship
part naming convention else false
.public int compareTo(PackagePartName otherPartName)
compareTo
in interface Comparable<PackagePartName>
public String getExtension()
public String getName()
public boolean equals(Object otherPartName)
public URI getURI()
Copyright © 2020. All rights reserved.