This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final Log | |
| pack-priv final Names | |
| pack-priv final Preview | |
| public static final Context. | scannerFactoryKey
The context key for the scanner factory. |
| pack-priv final Source | |
| pack-priv final Tokens |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static ScannerFactory | |
| public Scanner | |
| public Scanner |
| enableLineDocComments | back to summary |
|---|---|
| pack-priv final boolean enableLineDocComments | |
| log | back to summary |
|---|---|
| pack-priv final Log log | |
| names | back to summary |
|---|---|
| pack-priv final Names names | |
| preview | back to summary |
|---|---|
| pack-priv final Preview preview | |
| scannerFactoryKey | back to summary |
|---|---|
| public static final Context. The context key for the scanner factory. | |
| source | back to summary |
|---|---|
| pack-priv final Source source | |
| tokens | back to summary |
|---|---|
| pack-priv final Tokens tokens | |
| ScannerFactory | back to summary |
|---|---|
| protected ScannerFactory(Context context) Create a new scanner factory.
| |
| instance | back to summary |
|---|---|
| public static ScannerFactory instance(Context context) Get the Factory instance for this context. | |
| newScanner | back to summary |
|---|---|
| public Scanner newScanner(CharSequence input, boolean keepDocComments) | |
| newScanner | back to summary |
|---|---|
| public Scanner newScanner(char[] input, int inputLength, boolean keepDocComments) | |