Package adams.parser.plugin
Class Println
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.parser.plugin.AbstractParserProcedure
-
- adams.parser.plugin.Println
-
- All Implemented Interfaces:
LoggingSupporter,SizeOfHandler,ParserProcedure,Serializable
public class Println extends AbstractParserProcedure
Example function that simply outputs the parameters on the command-line.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Println()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Stringcheck(Object[] params)Performs some checks on the input parameters.protected voiddoCallProcedure(Object[] params)Gets called from the parser.StringgetProcedureHelp()Returns the help string for the procedure.StringgetProcedureName()Returns the procedure name.StringgetProcedureSignature()Returns the signature of the procedure.-
Methods inherited from class adams.parser.plugin.AbstractParserProcedure
callProcedure, getProcedures
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getProcedureName
public String getProcedureName()
Returns the procedure name. Can only consist of letters, underscores, numbers.- Specified by:
getProcedureNamein interfaceParserProcedure- Specified by:
getProcedureNamein classAbstractParserProcedure- Returns:
- the name of the procedure
-
getProcedureSignature
public String getProcedureSignature()
Returns the signature of the procedure.- Specified by:
getProcedureSignaturein interfaceParserProcedure- Specified by:
getProcedureSignaturein classAbstractParserProcedure- Returns:
- the signature
-
getProcedureHelp
public String getProcedureHelp()
Returns the help string for the procedure.- Specified by:
getProcedureHelpin interfaceParserProcedure- Specified by:
getProcedureHelpin classAbstractParserProcedure- Returns:
- the help string
-
check
protected String check(Object[] params)
Performs some checks on the input parameters.- Specified by:
checkin classAbstractParserProcedure- Parameters:
params- the input parameters- Returns:
- always null
-
doCallProcedure
protected void doCallProcedure(Object[] params)
Gets called from the parser.- Specified by:
doCallProcedurein classAbstractParserProcedure- Parameters:
params- the parameters obtained through the parser
-
-