Package com.iizix.translate.google
Class DetectedLanguage
- java.lang.Object
-
- com.iizix.translate.google.DetectedLanguage
-
public class DetectedLanguage extends java.lang.Object
Class used to hold information from a Google Translate Detect Language operation.- Author:
- Christopher Mindus
-
-
Field Summary
Fields Modifier and Type Field Description double
confidence
Confidence: the reliability number, valid only when detecting a language from a string.boolean
isReliable
The reliability flag, valid only when detecting a language from a string.java.lang.String
langID
The language ID.Language
language
The language enum, null if not found.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
The string representation of this class.
-
-
-
Field Detail
-
langID
public final java.lang.String langID
The language ID.
-
language
public final Language language
The language enum, null if not found.
-
isReliable
public final boolean isReliable
The reliability flag, valid only when detecting a language from a string.
-
confidence
public final double confidence
Confidence: the reliability number, valid only when detecting a language from a string.
-
-