Interface PartUnmarshaller
-
- All Known Implementing Classes:
PackagePropertiesUnmarshaller
public interface PartUnmarshaller
Classes implementing this interface are considered as part unmarshaller. A part unmarshaller is responsible to unmarshall a part in order to load it from a package.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PackagePart
unmarshall(UnmarshallContext context, java.io.InputStream in)
Save the content of the package in the stream
-
-
-
Method Detail
-
unmarshall
PackagePart unmarshall(UnmarshallContext context, java.io.InputStream in) throws InvalidFormatException, java.io.IOException
Save the content of the package in the stream- Parameters:
in
- The input stream from which the part will be read.- Returns:
- The part freshly read from the input stream.
- Throws:
InvalidFormatException
- If the data can not be interpreted correctlyjava.io.IOException
- if reading from the stream fails
-
-