java.lang.Object
org.firebirdsql.encodings.DefaultEncodingSet
- All Implemented Interfaces:
EncodingSet
The default encoding set for Jaybird.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Preference weight defines the loading order.
-
Constructor Details
-
DefaultEncodingSet
public DefaultEncodingSet()
-
-
Method Details
-
getPreferenceWeight
public int getPreferenceWeight()Description copied from interface:EncodingSet
Preference weight defines the loading order.An
EncodingSet
with a higher number is processed before a lower number. The default preference weight used byDefaultEncodingSet
in Jaybird is0
. This means that if you want to override any default definition, you need a higher number, if you just want to specify additional mappings, you need to specify a lower number.- Specified by:
getPreferenceWeight
in interfaceEncodingSet
- Returns:
- Preference weight
-
getEncodings
- Specified by:
getEncodings
in interfaceEncodingSet
- Returns:
- List of
EncodingDefinition
implementations.
-