|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.ldap.asn1.ASN1Length
This class provides a means to manipulate ASN.1 Length's. It will be used by ASN1Encoder's and ASN1Decoder's by composition.
| Constructor Summary | |
ASN1Length()
Constructs an empty ASN1Length. |
|
ASN1Length(java.io.InputStream in)
Constructs an ASN1Length object by decoding data from an input stream. |
|
ASN1Length(int length)
Constructs an ASN1Length |
|
| Method Summary | |
int |
getEncodedLength()
Returns the encoded length of this ASN1Length. |
int |
getLength()
Returns the length of this ASN1Length. |
void |
reset(java.io.InputStream in)
Resets an ASN1Length object by decoding data from an input stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ASN1Length()
public ASN1Length(int length)
public ASN1Length(java.io.InputStream in)
throws java.io.IOException
in - A byte stream that contains the encoded ASN.1| Method Detail |
public final void reset(java.io.InputStream in)
throws java.io.IOException
in - A byte stream that contains the encoded ASN.1
java.io.IOExceptionpublic final int getLength()
public final int getEncodedLength()
|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||