public Writer getWriterForEncoder(Encoder encoder) {
return getWriterForEncoder(encoder, lookupDefaultEncodingStateRegistry());
}
protected EncodingStateRegistry lookupDefaultEncodingStateRegistry() {
EncodingStateRegistryLookup encodingStateRegistryLookup = EncodingStateRegistryLookupHolder.getEncodingStateRegistryLookup();
return encodingStateRegistryLookup != null ? encodingStateRegistryLookup.lookup() : null;
}