]> source.dussan.org Git - poi.git/commit
Add methods to check to see if a given InputStream has a OOXML file header, or a...
authorNick Burch <nick@apache.org>
Wed, 16 Jan 2008 12:46:43 +0000 (12:46 +0000)
committerNick Burch <nick@apache.org>
Wed, 16 Jan 2008 12:46:43 +0000 (12:46 +0000)
commit0034e00a5ce061552d3ff33e6b795a34232cfb57
tree414d6a87ede2e61bfa930f2893bcc189b72cce5f
parent83107c9daec42ed33c1c1cbc0d6b2bf3a1ec6fca
Add methods to check to see if a given InputStream has a OOXML file header, or a OLE2 file header, so that a future factory method could figure out which class to instantiate for a given InputStraeam

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612438 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/poifs/common/POIFSConstants.java
src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
src/java/org/apache/poi/poifs/storage/HeaderBlockReader.java
src/scratchpad/ooxml-src/org/apache/poi/hxf/HXFDocument.java
src/scratchpad/ooxml-testcases/org/apache/poi/hxf/TestDetectAsOOXML.java [new file with mode: 0644]
src/testcases/org/apache/poi/poifs/filesystem/TestOffice2007XMLException.java