Package ac.simons.oembed
Interface OembedParser
-
- All Known Implementing Classes:
OembedJsonParser
public interface OembedParserThis 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmarshal(OembedResponse oembedResponse, java.io.OutputStream out)OembedResponseunmarshal(java.io.InputStream in)Unmarshals anOembedResponsefrom the given inputstream
-
-
-
Method Detail
-
unmarshal
OembedResponse unmarshal(java.io.InputStream in)
Unmarshals anOembedResponsefrom the given inputstream- Parameters:
in- The inputstream to unmarshal- Returns:
- A full OembedResponse
-
marshal
void marshal(OembedResponse oembedResponse, java.io.OutputStream out)
- Parameters:
oembedResponse- The oembed response that should be written to the streamout- The outputstream to write to
-
-