com.petpet.c3po.adaptor.tika
Class TIKAHelper

java.lang.Object
  extended by 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

Constructor Summary
TIKAHelper()
           
 
Method Summary
static String getPropertyKeyByTikaName(String name)
          For now we support only the specified properties within the file as the TIKA adaptor is still experimental
static void init()
          Loads the property mappings to the Properties object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIKAHelper

public TIKAHelper()
Method Detail

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.