Browse Source

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 years ago
parent
commit
83d4d4169f
1 changed files with 6 additions and 5 deletions
  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 View File

@@ -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

Loading…
Cancel
Save