Top Fields Constructors Methods
org.glassfish.pfl.basic.tools.file

public Class ActionFactory

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final boolean
private final int

Constructor Summary

AccessConstructor and Description
public
public
ActionFactory(final int verbose)

public
ActionFactory(final int verbose, final boolean dryRun)

Method Summary

Modifier and TypeMethod and Description
public Recognizer
getRecognizerAction()
References Deprecated Recognizer is deprecated or references (maybe indirectly) at least one deprecated element.

public Scanner.Action

Returns:

The skip action.
getSkipAction
()
References Deprecated Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.

returns an action that returns true.

public Scanner.Action

Returns:

The stop action.
getStopAction
()
References Deprecated Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.

returns an action that returns false.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dryRunback to summary
private final boolean dryRun
verboseback to summary
private final int verbose

Constructor Detail

ActionFactoryback to summary
public ActionFactory()
ActionFactoryback to summary
public ActionFactory(final int verbose)
ActionFactoryback to summary
public ActionFactory(final int verbose, final boolean dryRun)

Method Detail

getRecognizerActionback to summary
public Recognizer getRecognizerAction()

References Deprecated

Recognizer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

getSkipActionback to summary
public Scanner.Action getSkipAction()

References Deprecated

Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

returns an action that returns true. If verbose is true, the action also displays the FileWrapper that was passed to it.

Returns:Scanner.Action

The skip action.

getStopActionback to summary
public Scanner.Action getStopAction()

References Deprecated

Scanner.Action is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

returns an action that returns false. If verbose is true, the action also displays the FileWrapper that was passed to it.

Returns:Scanner.Action

The stop action.