|
OracleVirtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.octetstring.vde.syntax.Syntax
com.octetstring.vde.syntax.IA5String
public class IA5String
Class representing a case sensitive string
Constructor Summary | |
---|---|
IA5String() |
|
IA5String(byte[] value) |
|
IA5String(byte[] value, int hashCode) |
|
IA5String(java.lang.String value) |
Method Summary | |
---|---|
int |
compareTo(IA5String str) |
int |
compareTo(Syntax val) Compares the value in this syntax with the value in another syntax object. |
boolean |
endsWith(IA5String str) |
boolean |
endsWith(Syntax val) Checks to see if the passed value is at the end of this value. |
boolean |
equals(IA5String ds) |
boolean |
equals(java.lang.Object obj) |
byte[] |
getValue() Get a byte array representation of this value. |
int |
hashCode() |
int |
indexOf(IA5String indexString) |
int |
indexOf(Syntax val) Find the first occurance of the passed syntax within this syntax. |
int |
length() |
java.lang.String |
normalize() Perform necessary steps to create an indexable String representation of this value. |
Syntax |
reverse() Returns the reverse of this string. |
void |
setValue(byte[] value) Set this value to the passed byte array according to appropriate rules. |
void |
setValue(byte[] value, int hashCode) Set this value to the passed bye array according to appropriate rules. |
void |
setValue(java.lang.String value) |
boolean |
startsWith(IA5String startString) |
boolean |
startsWith(Syntax val) Determines if the specified value is at the beginning of this value. |
java.lang.String |
toString() |
void |
validate() Determines if this value is in accordance to the syntax rules (if any) |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IA5String()
public IA5String(byte[] value)
public IA5String(java.lang.String value)
public IA5String(byte[] value, int hashCode)
Method Detail |
---|
public byte[] getValue()
Syntax
getValue
in class Syntax
byte[]
valuepublic int hashCode()
hashCode
in class java.lang.Object
public void setValue(java.lang.String value)
public void setValue(byte[] value)
Syntax
setValue
in class Syntax
value
- a byte[]
valuepublic void setValue(byte[] value, int hashCode)
Syntax
setValue
in class Syntax
value
- a byte[]
valuehashCode
- an int
valuepublic int compareTo(IA5String str)
compareTo
in interface java.lang.Comparable<IA5String>
public int compareTo(Syntax val)
Syntax
compareTo
in class Syntax
val
- a Syntax
valueint
valuepublic boolean startsWith(IA5String startString)
public boolean startsWith(Syntax val)
Syntax
startsWith
in class Syntax
val
- a Syntax
valueboolean
valuepublic boolean endsWith(IA5String str)
public boolean endsWith(Syntax val)
Syntax
endsWith
in class Syntax
val
- a Syntax
valueboolean
valuepublic boolean equals(IA5String ds)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int indexOf(IA5String indexString)
public int indexOf(Syntax val)
Syntax
indexOf
in class Syntax
val
- a Syntax
valueint
valuepublic int length()
public java.lang.String normalize()
Syntax
normalize
in class Syntax
String
valuepublic Syntax reverse()
Syntax
reverse
in class Syntax
Syntax
valuepublic java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws com.octetstring.vde.syntax.InvalidSyntaxException
Syntax
validate
in class Syntax
com.octetstring.vde.syntax.InvalidSyntaxException
|
OracleVirtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |