Class DefaultEmbeddedStreamTranslator

  • All Implemented Interfaces:
    EmbeddedStreamTranslator

    public class DefaultEmbeddedStreamTranslator
    extends Object
    implements EmbeddedStreamTranslator
    Loads EmbeddedStreamTranslators via service loading. Tries to run each in turn and returns the first non-null value. If no translation has occurred, this returns the original InputStream. If a translation has occurred, the translator will consume the InputStream but not close it.