public class DefaultEncodingDetector extends CompositeEncodingDetector
EncodingDetector
implementations
available through the service provider mechanism
. Those
loaded via the service provider mechanism are ordered by how they appear in the
file, if there is a single service file. If multiple, there is no guarantee of order.
If you need to control the order of the Detectors, you should instead
construct your own CompositeDetector
and pass in the list
of Detectors in the required order.Constructor and Description |
---|
DefaultEncodingDetector() |
DefaultEncodingDetector(ServiceLoader loader) |
DefaultEncodingDetector(ServiceLoader loader,
java.util.Collection<java.lang.Class<? extends EncodingDetector>> excludeEncodingDetectors) |
detect, getDetectors
public DefaultEncodingDetector()
public DefaultEncodingDetector(ServiceLoader loader)
public DefaultEncodingDetector(ServiceLoader loader, java.util.Collection<java.lang.Class<? extends EncodingDetector>> excludeEncodingDetectors)
Copyright © 2010 - 2020 Adobe. All Rights Reserved