Package org.apache.tika.server.resource
Class LanguageResource
- java.lang.Object
-
- org.apache.tika.server.resource.LanguageResource
-
@Path("/language") public class LanguageResource extends Object
-
-
Constructor Summary
Constructors Constructor Description LanguageResource()
-
-
-
Method Detail
-
detect
@PUT @POST @Path("/stream") @Consumes("*/*") @Produces("text/plain") public String detect(InputStream is) throws IOException
- Throws:
IOException
-
detect
@PUT @POST @Path("/string") @Consumes("*/*") @Produces("text/plain") public String detect(String string) throws IOException
- Throws:
IOException
-
-