|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpmp.AbstractMacro
pmp.Version
public final class Version
Version info for PMP.
Title: PMP: Macroprocessor
Description: Java macroprocessor
Copyright: Copyright (c) 2005
History
2006-05-24 / 0.9.5.45 - moved to CVS
Field Summary | |
---|---|
static java.lang.String |
AUTHOR
Author of this project. |
static java.lang.String |
CVS_AUTHOR
Last user who commited this file. |
static java.lang.String |
CVS_DATE
Date of last commit. |
static java.lang.String |
CVS_ID
CVS Id of this file. |
static java.lang.String |
CVS_NAME
CVS tag name. |
static java.lang.String |
CVS_RCSFILE
Name of this source file in repository. |
static java.lang.String |
CVS_REVISION
Revision number of this file. |
static java.lang.String |
CVS_ROOT
Location of CVS repository. |
static java.lang.String |
CVS_SOURCE
Full path to this source file in repository. |
static java.lang.String |
LAST_MODIFIED
Last modified date. |
static int |
PARAMS_REQUIRED
|
static java.lang.String |
PROJECT_NAME
Name of this project. |
static java.lang.String |
VERSION
Current version number. |
static java.lang.String |
XMLCONFIG_VERSION
Version of config files this build uses. |
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
java.lang.String |
run(Macroprocessor mp,
java.lang.String[] args)
Main method of macro. |
java.lang.String |
toString()
Returns string representation of macro. |
Methods inherited from class pmp.AbstractMacro |
---|
getRequiredParams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CVS_ROOT
public static final java.lang.String CVS_ID
public static final java.lang.String CVS_REVISION
public static final java.lang.String CVS_DATE
public static final java.lang.String CVS_AUTHOR
public static final java.lang.String CVS_NAME
public static final java.lang.String CVS_SOURCE
public static final java.lang.String CVS_RCSFILE
public static final java.lang.String VERSION
public static final java.lang.String LAST_MODIFIED
public static final java.lang.String PROJECT_NAME
public static final java.lang.String AUTHOR
public static final java.lang.String XMLCONFIG_VERSION
public static final int PARAMS_REQUIRED
Constructor Detail |
---|
public Version()
Method Detail |
---|
public java.lang.String toString()
AbstractMacro
Returns string representation of macro. This method is used by
defn
macro. If you want reimplement this method, you must
make sure it will not return null
.
For user-defined macros it should return definition and for builtin ones empty string unless it has some meaning.
toString
in class AbstractMacro
Defn
public java.lang.String run(Macroprocessor mp, java.lang.String[] args)
AbstractMacro
run
in class AbstractMacro
mp
- reference to Macroprocessorargs
- parameters of macro. In args[0] is stored name of macro.
Subclasses are free to modify this array.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |