public final class Alphabets extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Alphabets.Deserializer |
static class |
Alphabets.Serializer |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Alphabet> |
getAll()
Returns unmodifiable collection of all registered alphabets.
|
static Alphabet |
getByFirstLetterOfName(char letter)
Searches for instance of
Alphabet using first letter of it's name |
static Alphabet |
getById(byte id)
Returns instance of
Alphabet from its byte id. |
static Alphabet |
getByName(String name)
Returns instance of
Alphabet from its string name. |
static void |
register(Alphabet alphabet)
Register new alphabet
|
public static void register(Alphabet alphabet)
alphabet - alphabetpublic static Alphabet getByName(String name)
Alphabet from its string name.name - string name of alphabetAlphabet from its string namepublic static Alphabet getByFirstLetterOfName(char letter)
Alphabet using first letter of it's nameletter - first letter of alphabet's nameAlphabetpublic static Alphabet getById(byte id)
Alphabet from its byte id.id - byte id of alphabetAlphabet from its byte idpublic static Collection<Alphabet> getAll()
Copyright © 2018. All rights reserved.