Interface PartUnmarshaller
- All Known Implementing Classes:
PackagePropertiesUnmarshaller
public interface PartUnmarshaller
Object implemented this interface are considered as part unmarshaller. A part
unmarshaller is responsible to unmarshall a part in order to load it from a
package.
- Version:
- 0.1
- Author:
- Julien Chable
-
Method Summary
Modifier and TypeMethodDescriptionunmarshall
(UnmarshallContext context, InputStream in) Save the content of the package in the stream
-
Method Details
-
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 unmarshall.- Returns:
- The part freshly unmarshall from the input stream.
- Throws:
OpenXML4JException
- Throws only if any other exceptions are thrown by inner methods.InvalidFormatException
IOException
-