|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.client.parser.AbstractMetadataParser
org.apache.chemistry.opencmis.client.parser.MetadataParserTika
public class MetadataParserTika
A metadata parser using the Apache Tika library
| Field Summary |
|---|
| Fields inherited from class org.apache.chemistry.opencmis.client.parser.AbstractMetadataParser |
|---|
cmisProperties, mapper |
| Constructor Summary | |
|---|---|
MetadataParserTika()
|
|
| Method Summary | |
|---|---|
void |
extractMetadata(java.io.File f,
TypeDefinition td)
Parse a file and extract all metadata and store them in a CMIS property bag |
void |
listMetadata(java.io.File f)
|
| Methods inherited from class org.apache.chemistry.opencmis.client.parser.AbstractMetadataParser |
|---|
getCmisProperties, getContentTypes, getMappedTypeId, getMapper, initialize, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetadataParserTika()
| Method Detail |
|---|
public void extractMetadata(java.io.File f,
TypeDefinition td)
throws MapperException
MetadataParser
f - file to parse
MapperException
public void listMetadata(java.io.File f)
throws MapperException
MapperException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||