|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.POIXMLDocumentPart
org.apache.poi.POIXMLDocument
public abstract class POIXMLDocument
Field Summary | |
---|---|
static java.lang.String |
DOCUMENT_CREATOR
|
static java.lang.String |
OLE_OBJECT_REL_TYPE
|
static java.lang.String |
PACK_OBJECT_REL_TYPE
|
Fields inherited from class org.apache.poi.POIXMLDocumentPart |
---|
DEFAULT_XML_OPTIONS |
Method Summary | |
---|---|
abstract java.util.List |
getAllEmbedds()
Get the document's embedded files. |
OPCPackage |
getPackage()
|
POIXMLProperties |
getProperties()
Get the document properties. |
static boolean |
hasOOXMLHeader(java.io.InputStream inp)
Checks that the supplied InputStream (which MUST support mark and reset, or be a PushbackInputStream) has a OOXML (zip) header at the start of it. |
static OPCPackage |
openPackage(java.lang.String path)
Wrapper to open a package, returning an IOException in the event of a problem. |
void |
write(java.io.OutputStream stream)
Write out this document to an Outputstream. |
Methods inherited from class org.apache.poi.POIXMLDocumentPart |
---|
createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelations, removeRelation, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DOCUMENT_CREATOR
public static final java.lang.String OLE_OBJECT_REL_TYPE
public static final java.lang.String PACK_OBJECT_REL_TYPE
Method Detail |
---|
public static OPCPackage openPackage(java.lang.String path) throws java.io.IOException
java.io.IOException
public OPCPackage getPackage()
public static boolean hasOOXMLHeader(java.io.InputStream inp) throws java.io.IOException
inp
- An InputStream which supports either mark/reset, or is a PushbackInputStream
java.io.IOException
public POIXMLProperties getProperties()
public abstract java.util.List getAllEmbedds() throws OpenXML4JException
OpenXML4JException
public final void write(java.io.OutputStream stream) throws java.io.IOException
stream
- - the java OutputStream you wish to write the file to
java.io.IOException
- if anything can't be written.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |