public interface PartUnmarshaller
Modifier and Type | Method and Description |
---|---|
PackagePart |
unmarshall(UnmarshallContext context,
InputStream in)
Save the content of the package in the stream
|
PackagePart unmarshall(UnmarshallContext context, InputStream in) throws InvalidFormatException, IOException
in
- The input stream from which the part will be read.InvalidFormatException
- If the data can not be interpreted correctlyIOException
- if reading from the stream fails