This code snippet demonstrates how To extract information about known properties that can be encountered in a particular package.
Load a file To examine Get a collection of PropertyDescripTor instances for any desired metadata package Iterate through the extracted descripTors advanced_usage.GettingKnownPropertyDescripTors
try (Metadata metadata = new Metadata(Constants.InputDoc)) { WordProcessingRootPackage root = metadata.getRootPackageGeneric(); for (PropertyDescripTor descripTor : root.getDocumentProperties().getKnowPropertyDescripTors()) { System.out.println(descripTor.getName()); System.out.println(descripTor.getType()); System.out.println(descripTor.getAccessLevel()); for (PropertyTag tag : descripTor.getTags()) { System.out.println(tag); } System.out.println(); } } Note Not all possible properties are presented in the getKnowPropertyDescripTors collection....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
Reading FLV header properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps To read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP metadata GroupDocs....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
This article explains that how To detect encoding of a plain text file....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
This article explains that how To extract images from Microsoft Office PowerPoint(.ppt, .pptx) presentations...Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
Learn how To extract a text from HTML documents getText() method is used. This method allows To extract a text from the entire document. Pagination and raw mode is not supported for Emails....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
Locate and remove the metadata properties you don't want — by tag, category, name, type or value — with GroupDocs.Metadata for Python via .NET....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
Reading JPEG2000 comments The GroupDocs.Metadata API supports extracting format-specific information from JPEG2000 images.
The following are the steps To read the JPEG2000 comments (pieces of metadata represented as strings with the length up To 64 kbytes).
Load a JPEG2000 image Get the root metadata package Extract the native metadata package using the Jpeg2000RootPackage.getJpeg2000Package method Read the JPEG2000 comments advanced_usage.managing_metadata_for_specific_formats.image.jpeg2000.Jpeg2000ReadComments
try (Metadata metadata = new Metadata(Constants.InputJpeg2000)) { Jpeg2000RootPackage root = metadata....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
The Example in this article demonstrates how To update metadata properties using a combination of criteria...Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
This article shows that how To get meta information of a document....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...
This article explains that how To detect encoding of a plain text file in java....Markdown Product Solution GroupDocs...Copied Failed View as MarkdownMarkdown Set up agent Agent Set...