Package com.deltaxml.deltacheck
Class DocxInput
java.lang.Object
com.deltaxml.deltacheck.DocxInput
A representation of a Microsoft Word input file with a ".docx" extension. Further processing will extract the underlying XML required for conversion validation.
The outdated ".doc" format is not accepted as it is a binary file and can't be resolved to XML.
NOTE: Supplied input file must have a ".docx" extension!
- Since:
- 0.1
- Author:
- Michael Polowczuk
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DocxInput
Creates a new DocxInput.- Parameters:
path- either an absolute or a relative (to the JAR) path to an input file, located on the file system.- Throws:
FileNotFoundException- if the given path points to a non-existing file.
-
DocxInput
Creates a new DocxInput.- Parameters:
file- an instance of a Java file object pointing to an input file.- Throws:
FileNotFoundException- if the given file doesn't exist.
-