|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.parser.Scanner.Factory
public static class Scanner.Factory
A factory for creating scanners.
| Field Summary | |
|---|---|
(package private) Keywords |
keywords
|
(package private) Log |
log
|
(package private) Names |
names
|
static Context.Key<Scanner.Factory> |
scannerFactoryKey
The context key for the scanner factory. |
(package private) Source |
source
|
| Constructor Summary | |
|---|---|
protected |
Scanner.Factory(Context context)
Create a new scanner factory. |
| Method Summary | |
|---|---|
static Scanner.Factory |
instance(Context context)
Get the Factory instance for this context. |
Scanner |
newScanner(char[] input,
int inputLength)
|
Scanner |
newScanner(java.lang.CharSequence input)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Context.Key<Scanner.Factory> scannerFactoryKey
final Log log
final Names names
final Source source
final Keywords keywords
| Constructor Detail |
|---|
protected Scanner.Factory(Context context)
| Method Detail |
|---|
public static Scanner.Factory instance(Context context)
public Scanner newScanner(java.lang.CharSequence input)
public Scanner newScanner(char[] input,
int inputLength)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||