org.omnaest.utils.codec
Class Codec
java.lang.Object
org.omnaest.utils.codec.Codec
public abstract class Codec
- extends Object
Class containing Codec
- Author:
- Omnaest
- See Also:
AlphaNumeric
|
Constructor Summary |
Codec()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlphaNumeric
@Deprecated
public final Codec.EncoderAndDecoder<String,String> AlphaNumeric
- Deprecated. use
alphaNumeric() instead- The
EncoderAndDecoderAlphanumericTokens instance (thread safe) allows to process texts as pure alphanumeric token
streams with a encoding for non alphanumeric characters.
- See Also:
ElementConverterStringToAlphaNumericEncodedString,
ElementConverterAlphaNumericEncodedStringToDecodedString
Codec
public Codec()
alphaNumeric
public static Codec.EncoderAndDecoder<String,String> alphaNumeric()
- Returns a new
EncoderAndDecoderAlphanumericTokens instance
- Returns:
- See Also:
ElementConverterStringToAlphaNumericEncodedString,
ElementConverterAlphaNumericEncodedStringToDecodedString
escaping
public static Codec.EncoderAndDecoder<String,String> escaping(String escapeCharacter,
String... encodedCharacters)
- Returns a new
EncoderAndDecoderEscaping instance
- Parameters:
escapeCharacter - encodedCharacters -
- Returns:
Copyright © 2013. All Rights Reserved.