Interface PartUnmarshaller
-
- All Known Implementing Classes:
PackagePropertiesUnmarshaller
public interface PartUnmarshallerClasses 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 PackagePartunmarshall(UnmarshallContext context, InputStream in)Save the content of the package in the stream
-
-
-
Method Detail
-
unmarshall
PackagePart unmarshall(UnmarshallContext context, InputStream in) throws InvalidFormatException, 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 correctlyIOException- if reading from the stream fails
-
-