GroupDocs.Metadata for Java 21.5 Release Notes

Major Features

There are the following features, enhancements and fixes in this release:

  • Implement the ability to edit EPUB properties
  • Implement the ability to edit DublinCore metadata properties in EPUB
  • Implement the ability to edit DXF metadata properties
  • Reduce the amount of resources consumed by EPUB rendering process

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
METADATANET-3780Implement the ability to edit EPUB propertiesImprovement
METADATANET-3800Implement the ability to edit DublinCore metadata properties in EPUBImprovement
METADATANET-3801Implement the ability to edit DXF metadata propertiesImprovement
METADATANET-3803Reduce the amount of resources consumed by EPUB rendering processBug

Public API and Backward Incompatible Changes

Implement the ability to edit EPUB properties

This improvement allows the user to update and remove EPUB metadata properties.

Public API changes

The getAbstract method has been added to the EpubPackage class

The getAccessRights method has been added to the EpubPackage class

The getAccrualMethod method has been added to the EpubPackage class

The getAccrualPeriodicity method has been added to the EpubPackage class

The getAccrualPolicy method has been added to the EpubPackage class

The getAlternative method has been added to the EpubPackage class

The getAudience method has been added to the EpubPackage class

The getAvailable method has been added to the EpubPackage class

The getBibliographicCitation method has been added to the EpubPackage class

The getConformsTo method has been added to the EpubPackage class

The getContributor method has been added to the EpubPackage class

The getCoverage method has been added to the EpubPackage class

The getCreated method has been added to the EpubPackage class

The getCreator method has been added to the EpubPackage class

The getDate method has been added to the EpubPackage class

The getDateAccepted method has been added to the EpubPackage class

The getDateCopyrighted method has been added to the EpubPackage class

The getDateSubmitted method has been added to the EpubPackage class

The getDescription method has been added to the EpubPackage class

The getEducationLevel method has been added to the EpubPackage class

The getExtent method has been added to the EpubPackage class

The getFormat method has been added to the EpubPackage class

The hasFormat method has been added to the EpubPackage class

The hasPart method has been added to the EpubPackage class

The hasVersion method has been added to the EpubPackage class

The getIdentifier method has been added to the EpubPackage class

The getInstructionalMethod method has been added to the EpubPackage class

The getIsFormatOf method has been added to the EpubPackage class

The getIsPartOf method has been added to the EpubPackage class

The getIsReferencedBy method has been added to the EpubPackage class

The getIsReplacedBy method has been added to the EpubPackage class

The getIsRequiredBy method has been added to the EpubPackage class

The getIssued method has been added to the EpubPackage class

The getIsVersionOf method has been added to the EpubPackage class

The getLanguage method has been added to the EpubPackage class

The getLicense method has been added to the EpubPackage class

The getMediator method has been added to the EpubPackage class

The getMedium method has been added to the EpubPackage class

The getModified method has been added to the EpubPackage class

The getProvenance method has been added to the EpubPackage class

The getPublisher method has been added to the EpubPackage class

The getReferences method has been added to the EpubPackage class

The getRelation method has been added to the EpubPackage class

The getReplaces method has been added to the EpubPackage class

The getRequires method has been added to the EpubPackage class

The getRights method has been added to the EpubPackage class

The getRightsHolder method has been added to the EpubPackage class

The getSource method has been added to the EpubPackage class

The getSpatial method has been added to the EpubPackage class

The getSubject method has been added to the EpubPackage class

The getTableOfContents method has been added to the EpubPackage class

The getTemporal method has been added to the EpubPackage class

The getTitle method has been added to the EpubPackage class

The getType method has been added to the EpubPackage class

The getValid method has been added to the EpubPackage class

The setAbstract method has been added to the EpubPackage class

The setAccessRights method has been added to the EpubPackage class

The setAccrualMethod method has been added to the EpubPackage class

The setAccrualPeriodicity method has been added to the EpubPackage class

The setAccrualPolicy method has been added to the EpubPackage class

The setAlternative method has been added to the EpubPackage class

The setAudience method has been added to the EpubPackage class

The setAvailable method has been added to the EpubPackage class

The setBibliographicCitation method has been added to the EpubPackage class

The setConformsTo method has been added to the EpubPackage class

The setContributor method has been added to the EpubPackage class

The setCoverage method has been added to the EpubPackage class

The setCreated method has been added to the EpubPackage class

The setCreator method has been added to the EpubPackage class

The setDate method has been added to the EpubPackage class

The setDateAccepted method has been added to the EpubPackage class

The setDateCopyrighted method has been added to the EpubPackage class

The setDateSubmitted method has been added to the EpubPackage class

The setDescription method has been added to the EpubPackage class

The setEducationLevel method has been added to the EpubPackage class

The setExtent method has been added to the EpubPackage class

The setFormat method has been added to the EpubPackage class

The setHasFormat method has been added to the EpubPackage class

The setPart method has been added to the EpubPackage class

The setHasVersion method has been added to the EpubPackage class

The setIdentifier method has been added to the EpubPackage class

The setInstructionalMethod method has been added to the EpubPackage class

The setIsFormatOf method has been added to the EpubPackage class

The setIsPartOf method has been added to the EpubPackage class

The setIsReferencedBy method has been added to the EpubPackage class

The setIsReplacedBy method has been added to the EpubPackage class

The setIsRequiredBy method has been added to the EpubPackage class

The setIssued method has been added to the EpubPackage class

The setIsVersionOf method has been added to the EpubPackage class

The setLanguage method has been added to the EpubPackage class

The setLicense method has been added to the EpubPackage class

The setMediator method has been added to the EpubPackage class

The setMedium method has been added to the EpubPackage class

The setModified method has been added to the EpubPackage class

The setProvenance method has been added to the EpubPackage class

The setPublisher method has been added to the EpubPackage class

The setReferences method has been added to the EpubPackage class

The setRelation method has been added to the EpubPackage class

The setReplaces method has been added to the EpubPackage class

The setRequires method has been added to the EpubPackage class

The setRights method has been added to the EpubPackage class

The setRightsHolder method has been added to the EpubPackage class

The setSource method has been added to the EpubPackage class

The setSpatial method has been added to the EpubPackage class

The setSubject method has been added to the EpubPackage class

The setTableOfContents method has been added to the EpubPackage class

The setTemporal method has been added to the EpubPackage class

The setTitle method has been added to the EpubPackage class

The setType method has been added to the EpubPackage class

The setValid method has been added to the EpubPackage class

Use cases

Update EPUB metadata properties

try (Metadata metadata = new Metadata(Constants.InputEpub)) {
    EpubRootPackage root = metadata.getRootPackageGeneric();
 
    root.getEpubPackage().setCreator("GroupDocs");
    root.getEpubPackage().setDescription("test e-book");
    root.getEpubPackage().setFormat("EPUB");
    root.getEpubPackage().setDate(new Date().toString());
 
    // ...
 
    metadata.save(Constants.OutputEpub);
}

Implement the ability to edit DublinCore metadata properties in EPUB

This improvement allows the user to edit DublinCore metadata properties stored in an EPUB file.

Public API changes

None

Use cases

Update DublinCore metadata properties stored in an EPUB file

try (Metadata metadata = new Metadata(Constants.InputEpub)) {
    EpubRootPackage root = metadata.getRootPackageGeneric();
 
    root.getDublinCorePackage().setProperties(new WithNameSpecification("dc:creator"), new PropertyValue("GroupDocs"));
    root.getDublinCorePackage().setProperties(new WithNameSpecification("dc:description"), new PropertyValue("test e-book"));
    root.getDublinCorePackage().setProperties(new WithNameSpecification("dc:title"), new PropertyValue("test EPUB"));
    root.getDublinCorePackage().setProperties(new WithNameSpecification("dc:date"), new PropertyValue(new Date().toString()));
 
    // ...
 
    metadata.save(Constants.OutputEpub);
}

Implement the ability to edit DXF metadata properties

This improvement allows the user to edit metadata properties stored in a DXF file.

Public API changes

None

Use cases

Update DXF metadata properties

try (Metadata metadata = new Metadata(Constants.InputDxf)) {
 
    CadRootPackage root = metadata.getRootPackageGeneric();
 
    root.getCadPackage().setProperties(new WithNameSpecification("Author"), new PropertyValue("GroupDocs"));
    root.getCadPackage().setProperties(new WithNameSpecification("Comments"), new PropertyValue("test comment"));
    root.getCadPackage().setProperties(new WithNameSpecification("HyperlinkBase"), new PropertyValue("test hyperlink base"));
    root.getCadPackage().setProperties(new WithNameSpecification("Keywords"), new PropertyValue("test keywords"));
    root.getCadPackage().setProperties(new WithNameSpecification("LastSavedBy"), new PropertyValue("test editor"));
    root.getCadPackage().setProperties(new WithNameSpecification("RevisionNumber"), new PropertyValue("test revision number"));
    root.getCadPackage().setProperties(new WithNameSpecification("Subject"), new PropertyValue("test subject"));
    root.getCadPackage().setProperties(new WithNameSpecification("Title"), new PropertyValue("test title"));
    root.getCadPackage().setProperties(new WithNameSpecification("CreatedDateTime"), new PropertyValue(new Date()));
    root.getCadPackage().setProperties(new WithNameSpecification("ModifiedDateTime"), new PropertyValue(new Date()));
 
    metadata.save(Constants.OutputDxf);
}