public class ScannerFactory extends Object
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 |
---|---|
static Context.Key<ScannerFactory> |
scannerFactoryKey
The context key for the scanner factory.
|
Modifier | Constructor and Description |
---|---|
protected |
ScannerFactory(Context context)
Create a new scanner factory.
|
Modifier and Type | Method and Description |
---|---|
static ScannerFactory |
instance(Context context)
Get the Factory instance for this context.
|
Scanner |
newScanner(char[] input,
int inputLength,
boolean keepDocComments) |
Scanner |
newScanner(CharSequence input,
boolean keepDocComments) |
public static final Context.Key<ScannerFactory> scannerFactoryKey
protected ScannerFactory(Context context)
public static ScannerFactory instance(Context context)
public Scanner newScanner(CharSequence input, boolean keepDocComments)
public Scanner newScanner(char[] input, int inputLength, boolean keepDocComments)
Copyright © 2015. All rights reserved.