public class UUIDEncodingAlgorithm extends LongEncodingAlgorithm
BuiltInEncodingAlgorithm.WordListener
INT_MAX_CHARACTER_SIZE, INT_SIZE, LONG_MAX_CHARACTER_SIZE, LONG_SIZE, SHORT_MAX_CHARACTER_SIZE, SHORT_SIZE
SPACE_PATTERN
Constructor and Description |
---|
UUIDEncodingAlgorithm() |
Modifier and Type | Method and Description |
---|---|
Object |
convertFromCharacters(char[] ch,
int start,
int length) |
void |
convertToCharacters(Object data,
StringBuffer s) |
int |
getPrimtiveLengthFromOctetLength(int octetLength) |
convertToCharactersFromLongArray, decodeFromBytes, decodeFromBytesToLongArray, decodeFromInputStream, decodeFromInputStreamToIntArray, encodeToBytes, encodeToBytesFromLongArray, encodeToOutputStream, encodeToOutputStreamFromLongArray, generateArrayFromList, getOctetLengthFromPrimitiveLength
matchWhiteSpaceDelimnatedWords, removeWhitespace
public final int getPrimtiveLengthFromOctetLength(int octetLength) throws EncodingAlgorithmException
getPrimtiveLengthFromOctetLength
in class LongEncodingAlgorithm
EncodingAlgorithmException
public final Object convertFromCharacters(char[] ch, int start, int length)
convertFromCharacters
in interface EncodingAlgorithm
convertFromCharacters
in class LongEncodingAlgorithm
public final void convertToCharacters(Object data, StringBuffer s)
convertToCharacters
in interface EncodingAlgorithm
convertToCharacters
in class LongEncodingAlgorithm
Copyright © 2016 Oracle Corpration. All rights reserved.