railo.runtime.coder
Class Coder
java.lang.Object
railo.runtime.coder.Coder
public final class Coder
- extends Object
Constructor Summary |
Coder()
|
ENCODING_UU
public static final short ENCODING_UU
- Field
ENCODING_UU
- See Also:
- Constant Field Values
ENCODING_HEX
public static final short ENCODING_HEX
- Field
ENCODING_HEX
- See Also:
- Constant Field Values
ENCODING_BASE64
public static final short ENCODING_BASE64
- Field
ENCODING_BASE64
- See Also:
- Constant Field Values
Coder
public Coder()
decode
public static byte[] decode(String type,
String value)
throws CoderException
- Parameters:
type
- value
-
- Returns:
-
- Throws:
CoderException
decode
public static byte[] decode(short type,
String value)
throws CoderException
- Parameters:
type
- value
-
- Returns:
-
- Throws:
CoderException
encode
public static String encode(String type,
byte[] value)
throws CoderException
- Parameters:
type
- value
-
- Returns:
-
- Throws:
CoderException
encode
public static String encode(short type,
byte[] value)
throws CoderException
- Parameters:
type
- value
-
- Returns:
-
- Throws:
CoderException
Copyright © 2012 Railo