Package org.firebirdsql.encodings
Class DefaultEncodingSet
- java.lang.Object
- 
- org.firebirdsql.encodings.DefaultEncodingSet
 
- 
- All Implemented Interfaces:
- EncodingSet
 
 public class DefaultEncodingSet extends java.lang.Object implements EncodingSet The default encoding set for Jaybird.This EncodingSetloads the definitions from the filedefault-firebird-encodings.xmlinorg.firebirdsql.encodingsThis class can be subclassed to load other definitions - Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultEncodingSet()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<EncodingDefinition>getEncodings()intgetPreferenceWeight()Preference weight defines the loading order.
 
- 
- 
- 
Method Detail- 
getPreferenceWeightpublic int getPreferenceWeight() Description copied from interface:EncodingSetPreference weight defines the loading order.An EncodingSetwith a higher number is processed before a lower number. The default preference weight used byDefaultEncodingSetin 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.- Specified by:
- getPreferenceWeightin interface- EncodingSet
- Returns:
- Preference weight
 
 - 
getEncodingspublic final java.util.List<EncodingDefinition> getEncodings() - Specified by:
- getEncodingsin interface- EncodingSet
- Returns:
- List of EncodingDefinitionimplementations.
 
 
- 
 
-