<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-metadata-cloud</artifactId>
    <version>22.2</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-metadata-cloud', version: '22.2')
copied!  
<dependency org="com.groupdocs" name="groupdocs-metadata-cloud" rev="22.2">
    <artifact name="groupdocs-metadata-cloud" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-metadata-cloud" % "22.2"
copied!  

Dokumentmetadaten Java Cloud REST API

banner

Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial

GroupDocs.Metadata Cloud SDK for Java unterstützt Sie beim Erstellen von Cloud-Dokument-Metadaten-Java-Apps, die ohne die Installation von Drittanbieter-Software funktionieren. Es ist ein Wrapper um GroupDocs.Metadata Cloud REST APIs.

Funktionen des Cloud Document Metadata SDK

Unterstützte Dokument-Metadaten-Dateiformate

Microsoft Word®: DOC, DOT, DOCX, DOCM, DOTX
OpenOffice Writer®: ODT
Microsoft Excel®: XLS, XLSX, XLSM, XLTM
OpenOffice Calc®: ODS, OTC
Microsoft PowerPoint®: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
Microsoft Visio®: VSD, VDX, VSDX, VSS, VSSX
Audio: MP3, WAV
Video: AVI, MOV, QT, FLV, ASF
Microsoft Outlook®: EML, MSG, VCF, VCR
Microsoft OeNote®: EINS
Microsoft Project®: MPP
Photoshop: PSD
Autodesk®: DWG
AutoCAD®: DXF
Bilder: BMP, DJVU, DJV, GIF, JPG, JPEG, JPE, JP2, PNG, TIFF, WEBP
Medizinische Bildgebung: DICOM
Festes Layout: PDF
Metadatendatei: EMF, WMF
eBook: EPUB
Archiv: ZIP
Torrent: TORRENT Schriftart: OTF, TTF, TTC

Anforderungen

Zum Erstellen der API-Client-Bibliothek ist Folgendes erforderlich:

  1. Java 1.7+
  2. Maven

Voraussetzungen

Um das GroupDocs.Metadata Cloud SDK für Java zu verwenden, müssen Sie ein Konto bei GroupDocs Cloud registrieren und die Client-ID und das Client-Geheimnis unter Cloud Dashboard suchen/erstellen. Es ist ein kostenloses Kontingent verfügbar. Weitere Einzelheiten finden Sie unter GroupDocs Cloud Pricing.

GroupDocs.Metadata-Cloud von Maven installieren

Fügen Sie das GroupDocs Cloud-Repository zu Ihrer Anwendung pom.xml hinzu

<repository>
    <id>repository.groupdocs.cloud</id>
    <name>repository.groupdocs.cloud</name>
    <url>https://releases.groupdocs.cloud/java/repo/</url>
</repository>

Von der Quelle installieren

Um die API-Clientbibliothek in Ihrem lokalen Maven-Repository zu installieren, führen Sie einfach Folgendes aus:

mvn clean install

Um es stattdessen in einem Remote-Maven-Repository bereitzustellen, konfigurieren Sie die Einstellungen des Repositorys und führen Sie Folgendes aus:

mvn clean deploy

Weitere Informationen finden Sie unter OSSRH Guide.

Maven-Benutzer

Fügen Sie diese Abhängigkeit zum POM Ihres Projekts hinzu:

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-metadata-cloud</artifactId>
    <version>22.2</version>
</dependency>

Andere

Generieren Sie zunächst das JAR, indem Sie Folgendes ausführen:

mvn clean package

Installieren Sie dann manuell die folgenden JARs:

  • target/groupdocs-metadata-cloud-22.2.jar
  • target/lib/*.jar

Loslegen

Bitte befolgen Sie die Quick Start-Anweisungen.

Metadaten nach partiellem Tag-Namen über Java Cloud SDK extrahieren

// For complete examples and data files, please go to https://github.com/groupdocs-metadata-cloud/groupdocs-metadata-cloud-java-samples
String MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
String MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
   
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
MetadataApi apiInstance = new MetadataApi(configuration);
 
ExtractOptions options = new ExtractOptions();
SearchCriteria searchCriteria = new SearchCriteria();
TagOptions tagOptions = new TagOptions();
tagOptions.setPossibleName("creator");
searchCriteria.setTagOptions(tagOptions);
options.setSearchCriteria(searchCriteria);
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("documents/input.xlsx");
options.setFileInfo(fileInfo);
ExtractRequest request = new ExtractRequest(options);
 
ExtractResult response = apiInstance.extract(request);

Autorisierung & Authentifizierung

Authentication schemes definiert für die API ist wie folgt:

JWT

Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial

VersionRelease Date
22.225. Februar 2022
20.425. Januar 2022
20.311. März 2020
20.212. Februar 2020