Cytoscape 2.8.0 API

org.apache.commons.cli.avalon
Class AbstractParserControl

java.lang.Object
  extended by org.apache.commons.cli.avalon.AbstractParserControl
All Implemented Interfaces:
ParserControl

public abstract class AbstractParserControl
extends Object
implements ParserControl

Class to inherit from so when in future when new controls are added clients will no have to implement them.

Version:
$Revision: 1.2 $
See Also:
ParserControl

Constructor Summary
AbstractParserControl()
           
 
Method Summary
 boolean isFinished(int lastOptionCode)
          By default always continue parsing by returning false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractParserControl

public AbstractParserControl()
Method Detail

isFinished

public boolean isFinished(int lastOptionCode)
By default always continue parsing by returning false.

Specified by:
isFinished in interface ParserControl
Parameters:
lastOptionCode - the code of last option parsed
Returns:
return true to halt, false to continue parsing
See Also:
ParserControl.isFinished(int)

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.