|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Scanner.Action | |
|---|---|
| org.glassfish.pfl.basic.tools.file | |
| Uses of Scanner.Action in org.glassfish.pfl.basic.tools.file |
|---|
| Classes in org.glassfish.pfl.basic.tools.file that implement Scanner.Action | |
|---|---|
class |
Recognizer
Recognizes files according to patterns, and performs actions accordingly. |
| Methods in org.glassfish.pfl.basic.tools.file that return Scanner.Action | |
|---|---|
Scanner.Action |
ActionFactory.getSkipAction()
returns an action that returns true. |
Scanner.Action |
ActionFactory.getStopAction()
returns an action that returns false. |
| Methods in org.glassfish.pfl.basic.tools.file with parameters of type Scanner.Action | |
|---|---|
void |
Recognizer.addKnownName(String name,
Scanner.Action action)
|
void |
Recognizer.addKnownSuffix(String suffix,
Scanner.Action action)
|
boolean |
Scanner.scan(Scanner.Action action)
Scan all files reachable from roots. |
void |
Recognizer.setDefaultAction(Scanner.Action action)
This defines the default action. |
void |
Recognizer.setShellScriptAction(Scanner.Action action)
If set, this defines the action taken for text files that start with the patter "#!", which is the standard for all *nix shell scripts. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||