The following classes assist you in the tasks of extracting and
representing the information found in an OpenDocument’s
meta.xml file.
These classes have changed radically as of 30 October 2005.
The OpenDocumentMetadata class has had its
name changed (it used to be Data).
It’s not just a name change–all the fields that were
represented internally as int are now
represented as Integer objects.
The getfoo() and setfoo()
functions still provide and receive int, but if you use
reflection to access such a field, you will get an Integer.
OpenDocumentMetadataThis class provides a Java Object that represents most of the data found in an Open Document’s meta.xml file.
ODFMetaFileAnalyzer
This class provides a variety of methods for creating an
OpenDocumentMetadata object from a
File (in .zip format) or an
InputStream.
Duration
Both of the preceding classes
use the Duration class, which
represents a duration as used in the <meta:editing-duration>
element.