public class LanguageField extends Field
Field.Type
Constructor and Description |
---|
LanguageField(String name)
Creates a new LanguageField with the given name.
|
Modifier and Type | Method and Description |
---|---|
static String |
parse(String language)
Parses the given string into a language ID string.
|
getName, getOptions, getType, setName, setOptions, setType
public LanguageField(String name)
name
- The unique name to associate with this field.public static String parse(String language)
language
- The language string to parse, which may be null.Copyright © 2020. All rights reserved.