Class ByteArrayXMPSource


public class ByteArrayXMPSource extends XMPSource
Class for providing an InputSource to XMPHandler, with a ByteArrayInputStream as the basis of the InputSource. This is suitable for a number of modules.
Author:
Gary McGath
  • Constructor Details

    • ByteArrayXMPSource

      public ByteArrayXMPSource(ByteArrayInputStream instrm)
      Constructor based on ByteArrayInputStream.
      Parameters:
      instrm - ByteArrayInputStream containing the XMP
    • ByteArrayXMPSource

      public ByteArrayXMPSource(ByteArrayInputStream instrm, String encoding) throws IOException
      Constructor based on ByteArrayInputStream with encoding.
      Parameters:
      instrm - ByteArrayInputStream containing the XMP
      Throws:
      IOException
  • Method Details

    • resetReader

      protected void resetReader()
      Description copied from class: XMPSource
      Causes reading to begin from the start again. Typically this means creating a new value for _reader that will start over.
      Specified by:
      resetReader in class XMPSource