@XStreamConverter(value=TranslationInformationConverter.class) public final class TranslationInformation extends Object implements Mergeable, Cloneable, Serializable
TranslationInformation contains some general information about single available translation.
Instances of TranslationInformation might be automatically generated by Dictionary when necessary.LanguageManager,
Dictionary,
Serialized Form| Constructor and Description |
|---|
TranslationInformation()
Constructs new empty
TranslationInformation. |
TranslationInformation(Locale locale,
String title,
String author)
Constructs new
TranslationInformation. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor()
Returns translation author.
|
Locale |
getLocale()
Returns translation
Locale. |
String |
getTitle()
Returns translation language title.
|
void |
setAuthor(String author)
Sets translation author.
|
void |
setLocale(Locale locale)
Sets translation
Locale. |
void |
setTitle(String title)
Sets translation language title.
|
String |
toString() |
public TranslationInformation()
TranslationInformation.public TranslationInformation(Locale locale, String title, String author)
TranslationInformation.locale - translation Localetitle - translation language titleauthor - translation authorpublic void setLocale(Locale locale)
Locale.locale - new translation Localepublic String getTitle()
public void setTitle(String title)
title - new translation language titlepublic String getAuthor()
public void setAuthor(String author)
author - new translation authorCopyright © 2020. All rights reserved.