public class Translate.Detections
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Translate.Detections.Detect |
class |
Translate.Detections.List |
Constructor and Description |
---|
Translate.Detections() |
Modifier and Type | Method and Description |
---|---|
Translate.Detections.Detect |
detect(DetectLanguageRequest content)
Detects the language of text within a request.
|
Translate.Detections.List |
list(java.util.List<java.lang.String> q)
Detects the language of text within a request.
|
public Translate.Detections.Detect detect(DetectLanguageRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the DetectLanguageRequest
java.io.IOException
public Translate.Detections.List list(java.util.List<java.lang.String> q) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.q
- The input text upon which to perform language detection. Repeat this
parameter to perform language
detection on multiple text inputs.java.io.IOException