浏览代码

Fix Javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849896 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_1_0
Andreas Beeker 5 年前
父节点
当前提交
83d4d4169f
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6
    5
      src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectData.java

+ 6
- 5
src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectData.java 查看文件

@@ -31,18 +31,19 @@ import org.apache.poi.util.Beta;
/**
* An XSLFOleData instance holds the ole binary stream/object
*/
@SuppressWarnings("unused")
@Beta
public final class XSLFObjectData extends POIXMLDocumentPart implements ObjectData {

/**
* Create a new XSLFOleData node
* Create a new XSLFObjectData node
*/
protected XSLFObjectData() {
/* package */ XSLFObjectData() {
super();
}

/**
* Construct XSLFOleData from a package part
* Construct XSLFObjectData from a package part
*
* @param part the package part holding the ole data
*
@@ -58,14 +59,14 @@ public final class XSLFObjectData extends POIXMLDocumentPart implements ObjectDa
}

@Override
public OutputStream getOutputStream() throws IOException {
public OutputStream getOutputStream() {
final PackagePart pp = getPackagePart();
pp.clear();
return pp.getOutputStream();
}
/**
* *PictureData objects store the actual content in the part directly without keeping a
* XSLFObjectData objects store the actual content in the part directly without keeping a
* copy like all others therefore we need to handle them differently.
*/
@Override

正在加载...
取消
保存