Class LocalizedString.LanguageFormSelector
java.lang.Object
com.lokalized.LocalizedString.LanguageFormSelector
- Enclosing class:
LocalizedString
Defines a selector used by a multi-axis placeholder translation.
Each selector identifies an application-supplied placeholder value and the language-form family to derive from it.
- Author:
- Mark Allen
-
Constructor Summary
ConstructorsConstructorDescriptionLanguageFormSelector(@NonNull String value, @NonNull LanguageFormType form) Constructs a selector with the given placeholder value name and language-form type. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this object is equal to another one.getForm()Gets the language-form family for this selector.getValue()Gets the placeholder value name for this selector.inthashCode()A hash code for this object.toString()Generates aStringrepresentation of this object.
-
Constructor Details
-
LanguageFormSelector
Constructs a selector with the given placeholder value name and language-form type.- Parameters:
value- the placeholder value to inspect, not nullform- the language-form family to derive from the value, not null
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getValue
-
getForm
Gets the language-form family for this selector.- Returns:
- the language-form family for this selector, not null
-