References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private Scanner. | defaultAction
References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private final boolean | |
| private final Map | |
| private Scanner. | shellScriptAction
References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private final Map | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addKnownName(final String name, final Scanner.
References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public void | addKnownSuffix(final String suffix, final Scanner.
References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public void | |
| public boolean | Returns: result of matching action.The file to act upon. file)Implements org. Apply the action that matches the classification of this file. |
| public void | setDefaultAction(final Scanner.
The default action is nothing else matches. action
References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
This defines the default action. |
| public void | setShellScriptAction(final Scanner.
The action to perform on shell scripts. action
References Deprecated
Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.
If set, this defines the action taken for text files that start with the patter "#!", which is the standard for all *nix shell scripts. |
| public String |
| defaultAction | back to summary |
|---|---|
| private Scanner. References Deprecated
See corresponding docs for further information. | |
| dryRun | back to summary |
|---|---|
| private final boolean dryRun | |
| nameActions | back to summary |
|---|---|
| private final Map<String, Scanner. | |
| shellScriptAction | back to summary |
|---|---|
| private Scanner. References Deprecated
See corresponding docs for further information. | |
| suffixActions | back to summary |
|---|---|
| private final Map<String, Scanner. | |
| verbose | back to summary |
|---|---|
| private final int verbose | |
| Recognizer | back to summary |
|---|---|
| pack-priv Recognizer(final int verbose, final boolean dryRun) | |
| addKnownName | back to summary |
|---|---|
| public void addKnownName(final String name, final Scanner. References Deprecated
See corresponding docs for further information. | |
| addKnownSuffix | back to summary |
|---|---|
| public void addKnownSuffix(final String suffix, final Scanner. References Deprecated
See corresponding docs for further information. | |
| dump | back to summary |
|---|---|
| public void dump() | |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final FileWrapper file) Implements org. Apply the action that matches the classification of this file. Returns the result of that action.
| |
| setDefaultAction | back to summary |
|---|---|
| public void setDefaultAction(final Scanner. References Deprecated
See corresponding docs for further information. This defines the default action. The standard default action prints a message identifying the File that was not processed, and returns false. This allows overriding the default action. | |
| setShellScriptAction | back to summary |
|---|---|
| public void setShellScriptAction(final Scanner. References Deprecated
See corresponding docs for further information. If set, this defines the action taken for text files that start with the patter "#!", which is the standard for all *nix shell scripts. If not set, such files are handled by the default action (if not otherwise handled by name or suffix match. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |