public final class LanguageRequest extends Request
| Modifier and Type | Class and Description |
|---|---|
static class |
LanguageRequest.Builder
Fluent builder class for
LanguageRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
LanguageRequest(Object content,
String contentUri,
String contentType,
LanguageOptions options)
constructor for
LanguageRequest |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
if the param is a
LanguageRequest, compare contents for equality |
LanguageOptions |
getOptions()
get the languages detection options
|
int |
hashCode() |
void |
setOptions(LanguageOptions options)
set the languages detection options
|
getContent, getContentBytes, getContentType, getContentUri, getLanguage, getRawContentprotected LanguageRequest(Object content, String contentUri, String contentType, LanguageOptions options)
LanguageRequestcontent - raw datacontentUri - uri pointing to the datacontentType - byte array of dataoptions - languages detection optionspublic LanguageOptions getOptions()
public void setOptions(LanguageOptions options)
options - the languages detection optionsCopyright © 2014–2016 Basis Technology Corp.. All rights reserved.