org.glassfish.pfl.basic.tools.file
Class ActionFactory

java.lang.Object
  extended by org.glassfish.pfl.basic.tools.file.ActionFactory

public class ActionFactory
extends Object


Constructor Summary
ActionFactory()
           
ActionFactory(int verbose)
           
ActionFactory(int verbose, boolean dryRun)
           
 
Method Summary
 Recognizer getRecognizerAction()
           
 Scanner.Action getSkipAction()
          returns an action that returns true.
 Scanner.Action getStopAction()
          returns an action that returns false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionFactory

public ActionFactory()

ActionFactory

public ActionFactory(int verbose)

ActionFactory

public ActionFactory(int verbose,
                     boolean dryRun)
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()


Copyright © 2013 Oracle. All Rights Reserved.