public class TikaResource extends Object
Constructor and Description |
---|
TikaResource() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final String GREETING
public String getMessage()
public static AutoDetectParser createParser()
public static void fillMetadata(AutoDetectParser parser, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
public javax.ws.rs.core.StreamingOutput getText(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info)
public static void logRequest(org.apache.commons.logging.Log logger, javax.ws.rs.core.UriInfo info, Metadata metadata)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.