Interface OembedParser

  • All Known Implementing Classes:
    OembedJsonParser

    public interface OembedParser
    This is 1:1 copy from the interface of the same name from java-oembed except for the checked exceptions.
    Author:
    Michael J. Simons, 2010-12-24
    • Method Detail

      • unmarshal

        OembedResponse unmarshal​(java.io.InputStream in)
        Unmarshals an OembedResponse from the given inputstream
        Parameters:
        in - The inputstream to unmarshal
        Returns:
        A full OembedResponse
      • marshal

        void marshal​(OembedResponse oembedResponse,
                     java.io.OutputStream out)
        Marshals the given OembedResponse oembedResponse into the OutputStream out.
        Parameters:
        oembedResponse - The oembed response that should be written to the stream
        out - The outputstream to write to