public final class DefaultMarshaller extends java.lang.Object implements PartMarshaller
PartMarshaller
Constructor and Description |
---|
DefaultMarshaller() |
Modifier and Type | Method and Description |
---|---|
boolean |
marshall(PackagePart part, java.io.OutputStream out)
Save the given part in the output stream by using the save() method of the part.
(使用部件的 save() 方法将给定部件保存在输出流中。)
|
public boolean marshall(PackagePart part, java.io.OutputStream out) throws OpenXML4JException
marshall
in interface
PartMarshaller
(接口 PartMarshaller 中的编组)
part
- The
PackagePart
to store.
(part - 要存储的 PackagePart。)
out
- Output stream to save this part.
(out - 输出流以保存这部分。)
POILogger
(如果内容已成功存储,则为 true,否则为 false。有关错误的更多信息可以通过 POILogger 记录)
OpenXML4JException
- If any error occur.
(OpenXML4JException - 如果发生任何错误。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.