|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.GoogleAPI
com.google.api.detect.Detect
public class Detect
Makes the Google Detect API available to Java applications.
| Field Summary |
|---|
| Fields inherited from class com.google.api.GoogleAPI |
|---|
ENCODING, referrer |
| Constructor Summary | |
|---|---|
Detect()
|
|
| Method Summary | |
|---|---|
static DetectResult |
execute(java.lang.String text)
Detects the language of a supplied String. |
| Methods inherited from class com.google.api.GoogleAPI |
|---|
retrieveJSON, retrieveJSON, setHttpReferrer, validateReferrer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Detect()
| Method Detail |
|---|
public static DetectResult execute(java.lang.String text)
throws java.lang.Exception
text - The String to detect the language of.
java.lang.Exception - on error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||