@Path(value="/language") public class LanguageResource extends Object
Constructor and Description |
---|
LanguageResource(TikaConfig config) |
public LanguageResource(TikaConfig config)
@PUT @POST @Path(value="/stream") @Consumes(value="*/*") @Produces(value="text/plain") public String detect(InputStream is) throws IOException
IOException
@PUT @POST @Path(value="/string") @Consumes(value="*/*") @Produces(value="text/plain") public String detect(String string) throws IOException
IOException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.