Class ActionFactory
- java.lang.Object
-
- org.glassfish.pfl.basic.tools.file.ActionFactory
-
public class ActionFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ActionFactory()
ActionFactory(int verbose)
ActionFactory(int verbose, boolean dryRun)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recognizer
getRecognizerAction()
Scanner.Action
getSkipAction()
returns an action that returns true.Scanner.Action
getStopAction()
returns an action that returns false.
-
-
-
Method Detail
-
getSkipAction
public Scanner.Action getSkipAction()
returns an action that returns true. If verbose is true, the action also displays the FileWrapper that was passed to it.- Returns:
- The skip action.
-
getStopAction
public Scanner.Action getStopAction()
returns an action that returns false. If verbose is true, the action also displays the FileWrapper that was passed to it.- Returns:
- The stop action.
-
getRecognizerAction
public Recognizer getRecognizerAction()
-
-