public interface PartUnmarshaller
Modifier and Type | Method and Description |
---|---|
PackagePart |
unmarshall(UnmarshallContext context, java.io.InputStream in)
Save the content of the package in the stream
(将包的内容保存在流中)
|
PackagePart unmarshall(UnmarshallContext context, java.io.InputStream in) throws InvalidFormatException, java.io.IOException
in
- The input stream from which the part will be read.
(in - 将从中读取部件的输入流。)
InvalidFormatException
- If the data can not be interpreted correctly
(InvalidFormatException - 如果无法正确解释数据)
java.io.IOException
- if reading from the stream fails
(java.io.IOException - 如果从流中读取失败)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.