TransliterableScript Class

public final class TransliterableScript
extends LanguageScript

Script definition with list of script into which given script can be translitered.

Method Summary

Modifier and Type Method and Description
static TransliterableScript fromJson(JsonReader jsonReader)

Reads an instance of TransliterableScript from the JsonReader.

List<LanguageScript> getToScripts()

Get the toScripts property: List of scripts available to convert text to.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from LanguageScript

Methods inherited from java.lang.Object

Method Details

fromJson

public static TransliterableScript fromJson(JsonReader jsonReader)

Reads an instance of TransliterableScript from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TransliterableScript if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getToScripts

public List<LanguageScript> getToScripts()

Get the toScripts property: List of scripts available to convert text to.

Returns:

the toScripts value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TransliterableScript.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to