public class TokenFactory extends Object
This class has only one public method called getToken, which is capable of creating Token objects depending on the given argument. It is important to note that this class is not guaranteed to be thread safe.
| Constructor and Description |
|---|
TokenFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Token |
getToken(String value)
Creates instance of Token subclasses.
|
public static Token getToken(String value)
value - The original string representation of the tokenCopyright © 2023. All rights reserved.