|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.util.Asn1StringUtils
public class Asn1StringUtils
Little helper class.
Constructor Summary | |
---|---|
Asn1StringUtils()
|
Method Summary | |
---|---|
static String |
dumpByte(byte octet)
Helper function that dump a byte in hex form |
static String |
dumpBytes(byte[] buffer)
Helper function that dump an array of bytes in hex form |
static byte[] |
getBytesUtf8(String string)
Return UTF-8 encoded byte[] representation of a String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1StringUtils()
Method Detail |
---|
public static String dumpByte(byte octet)
octet
- The byte to dump
public static String dumpBytes(byte[] buffer)
buffer
- The bytes array to dump
public static byte[] getBytesUtf8(String string)
string
- The string to be transformed to a byte array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |