public final class PackagePartName extends java.lang.Object implements java.lang.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(java.lang.Object otherPartName)
Part name equivalence is determined by comparing part names as
case-insensitive ASCII strings.
|
java.lang.String |
getExtension()
Retrieves the extension of the part name if any.
|
java.lang.String |
getName()
Get this part name.
|
java.net.URI |
getURI()
Part name property getter.
|
int |
hashCode() |
boolean |
isRelationshipPartURI()
Know if this part name is a relationship part name.
|
java.lang.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 java.lang.Comparable<PackagePartName>
public java.lang.String getExtension()
public java.lang.String getName()
public boolean equals(java.lang.Object otherPartName)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.net.URI getURI()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.