public interface TEncodingStrategy
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] data)
This method decodes the given encoded byte array according a concrete decoding
algorithm.
|
java.lang.String |
decode(java.lang.String str)
This method decodes the given encoded string according a concrete decoding
algorithm.
|
byte[] |
encode(byte[] data)
This method encodes the given byte array according a concrete encoding
|
java.lang.String |
encode(java.lang.String str)
This method encodes the given string according a concrete encoding
algorithm.
|
java.lang.String encode(java.lang.String str)
str
- the string to encode.byte[] encode(byte[] data)
data
- the byte array to encode.java.lang.String decode(java.lang.String str)
str
- the encoded string.byte[] decode(byte[] data)
data
- the encoded byte array.Copyright (c) 2017 Software AG. All Rights Reserved.