com.petpet.c3po.adaptor.tika
Class TIKAHelper
java.lang.Object
com.petpet.c3po.adaptor.tika.TIKAHelper
public class TIKAHelper
- extends Object
A simple TIKA helper that maps the tika properties to c3po properties.
- Author:
- Petar Petrov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIKAHelper
public TIKAHelper()
init
public static void init()
- Loads the property mappings to the
Properties object.
getPropertyKeyByTikaName
public static String getPropertyKeyByTikaName(String name)
- For now we support only the specified properties within the file as the
TIKA adaptor is still experimental
- Parameters:
name - the name of the property
- Returns:
- the normalised property key corresponding to TIKAs property name
Copyright © 2013. All Rights Reserved.