org.apache.tika.server
Class TikaResource

java.lang.Object
  extended by org.apache.tika.server.TikaResource

public class TikaResource
extends Object


Field Summary
static String GREETING
           
 
Constructor Summary
TikaResource()
           
 
Method Summary
static AutoDetectParser createParser()
           
static void fillMetadata(AutoDetectParser parser, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
           
 String getMessage()
           
 javax.ws.rs.core.StreamingOutput getText(InputStream is, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo info)
           
static void logRequest(org.apache.commons.logging.Log logger, javax.ws.rs.core.UriInfo info, Metadata metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GREETING

public static final String GREETING
See Also:
Constant Field Values
Constructor Detail

TikaResource

public TikaResource()
Method Detail

getMessage

public String getMessage()

createParser

public static AutoDetectParser createParser()

fillMetadata

public static void fillMetadata(AutoDetectParser parser,
                                Metadata metadata,
                                javax.ws.rs.core.HttpHeaders httpHeaders)

getText

public javax.ws.rs.core.StreamingOutput getText(InputStream is,
                                                @Context
                                                javax.ws.rs.core.HttpHeaders httpHeaders,
                                                @Context
                                                javax.ws.rs.core.UriInfo info)

logRequest

public static void logRequest(org.apache.commons.logging.Log logger,
                              javax.ws.rs.core.UriInfo info,
                              Metadata metadata)


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.