Module com.cryptoalgo.oursql.oursql
Package com.cryptoalgo.codable
Interface KeyedEncodingContainer<T extends Enum<T>>
- Type Parameters:
T- Type of CodingKeys used for encoding
- All Known Implementing Classes:
PreferencesEncoder
public interface KeyedEncodingContainer<T extends Enum<T>>
A container for encoding keyed values.
-
Method Details
-
encode
Encode anIntegervalue into a specified key- Parameters:
value- Value to encodeforKey- Key to encode value into- Throws:
EncodingException- If encoding of this key failed
-
encode
Encode aBooleanvalue into a specified key- Parameters:
value- Value to encodeforKey- Key to encode value into- Throws:
EncodingException- If encoding of this key failed
-
encode
Encode aStringvalue into a specified key- Parameters:
value- Value to encodeforKey- Key to encode value into- Throws:
EncodingException- If encoding of this key failed
-