@Path(value="/eval") public class TikaEvalResource extends Object implements TikaServerResource, ServerStatusResource
| Modifier and Type | Field and Description | 
|---|---|
| static long | DEFAULT_TIMEOUT_MILLIS | 
| static Property | DICE | 
| static String | ID | 
| static Property | OVERLAP | 
| static String | TEXT | 
| static String | TEXT_A | 
| static String | TEXT_B | 
| Constructor and Description | 
|---|
| TikaEvalResource() | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Object> | compare(InputStream is) | 
| Map<String,Object> | profile(InputStream is) | 
| void | setServerStatus(ServerStatus serverStatus) | 
public static final String TEXT
public static final String TEXT_A
public static final String TEXT_B
public static final String ID
public static final Property DICE
public static final Property OVERLAP
public static final long DEFAULT_TIMEOUT_MILLIS
@PUT @Consumes(value="application/json") @Produces(value="application/json") @Path(value="compare") public Map<String,Object> compare(InputStream is) throws Exception
Exception@PUT @Consumes(value="application/json") @Produces(value="application/json") @Path(value="profile") public Map<String,Object> profile(InputStream is) throws Exception
Exceptionpublic void setServerStatus(ServerStatus serverStatus)
setServerStatus in interface ServerStatusResourceCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.