org.apache.chemistry.opencmis.client.parser
Class MetadataParserTika
java.lang.Object
org.apache.chemistry.opencmis.client.parser.AbstractMetadataParser
org.apache.chemistry.opencmis.client.parser.MetadataParserTika
- All Implemented Interfaces:
- MetadataParser
public class MetadataParserTika
- extends AbstractMetadataParser
A metadata parser using the Apache Tika library
- Author:
- Jens
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataParserTika
public MetadataParserTika()
extractMetadata
public void extractMetadata(File f,
TypeDefinition td)
throws MapperException
- Description copied from interface:
MetadataParser
- Parse a file and extract all metadata and store them in a CMIS property bag
- Parameters:
f
- file to parse
- Throws:
MapperException
listMetadata
public void listMetadata(File f)
throws MapperException
- Throws:
MapperException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.