public class DefaultEncodingSet extends java.lang.Object implements EncodingSet
This EncodingSet
loads the definitions from the file default-firebird-encodings.xml
in
org.firebirdsql.encodings
This class can be subclassed to load other definitions
Constructor and Description |
---|
DefaultEncodingSet() |
Modifier and Type | Method and Description |
---|---|
java.util.List<EncodingDefinition> |
getEncodings() |
int |
getPreferenceWeight()
Preference weight defines the loading order.
|
public int getPreferenceWeight()
EncodingSet
An EncodingSet
with a higher number is processed before a lower number. The default preference
weight used by DefaultEncodingSet
in Jaybird is 0. 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.
getPreferenceWeight
in interface EncodingSet
public final java.util.List<EncodingDefinition> getEncodings()
getEncodings
in interface EncodingSet
EncodingDefinition
implementations.Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.