@Path(value="/language") public class LanguageResource extends Object
Constructor and Description |
---|
LanguageResource() |
@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–2021 The Apache Software Foundation. All rights reserved.