Package org.apache.tika.server.eval
Class TikaEvalResource
- java.lang.Object
-
- org.apache.tika.server.eval.TikaEvalResource
-
- All Implemented Interfaces:
TikaServerResource
,ServerStatusResource
@Path("/eval") public class TikaEvalResource extends Object implements TikaServerResource, ServerStatusResource
-
-
Constructor Summary
Constructors Constructor Description TikaEvalResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
compare(InputStream is)
Map<String,Object>
profile(InputStream is)
void
setServerStatus(ServerStatus serverStatus)
-
-
-
Field Detail
-
TEXT
public static final String TEXT
- See Also:
- Constant Field Values
-
TEXT_A
public static final String TEXT_A
- See Also:
- Constant Field Values
-
TEXT_B
public static final String TEXT_B
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
DICE
public static final Property DICE
-
OVERLAP
public static final Property OVERLAP
-
DEFAULT_TIMEOUT_MILLIS
public static final long DEFAULT_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
-
Method Detail
-
compare
@PUT @Consumes("application/json") @Produces("application/json") @Path("compare") public Map<String,Object> compare(InputStream is) throws Exception
- Throws:
Exception
-
profile
@PUT @Consumes("application/json") @Produces("application/json") @Path("profile") public Map<String,Object> profile(InputStream is) throws Exception
- Throws:
Exception
-
setServerStatus
public void setServerStatus(ServerStatus serverStatus)
- Specified by:
setServerStatus
in interfaceServerStatusResource
-
-