|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.report.Java2Html
public final class Java2Html
TODO: Link to current build TODO: Link to CC home TODO: Add @media printer??? TODO: Refactor, split class.
| Field Summary | |
|---|---|
static String |
WIKI_BASE_PROPERTY
property name for the wiki url prefix. |
| Constructor Summary | |
|---|---|
Java2Html()
Constructor. |
|
| Method Summary | |
|---|---|
String |
getProjectName()
Returns the name of the project. |
static void |
main(String[] args)
Main entry point. |
void |
process()
Starts the actual generation process. |
void |
setCoverageData(boolean coverageDataAvailable)
Sets the flag if coverage data is available and should be taken into account. |
void |
setCvsBase(String cvsBase)
Base path (url) to the cvs repository used to create links to the cvs. |
void |
setCvsSuffix(String suffix)
Suffix to be added at the end of web vc links. |
void |
setInputFile(File file)
The input file containing the jcoderz report. |
void |
setLoglevel(String loglevel)
The log level to be used when processing the input. |
void |
setOutDir(File dir)
The output directory where the report should be written to. |
void |
setPackageBase(String packageBase)
Set the name of the package that should be treated as project "root" package. |
void |
setProjectHome(File file)
The base path where the source files can be found. |
void |
setProjectName(String name)
Sets the name of the project used as readable string at several places in the report. |
void |
setSourceCharset(Charset charset)
Sets the char-set used for the source files. |
void |
setStyle(String style)
Sets the css file to be used can be relative to report path or absolute. |
void |
setTabwidth(String tabWidth)
Sets the tab with to be used when calculating the position in the current line. |
void |
setTimestamp(String timestamp)
Set the timestamp when the report has been initiated. |
void |
setWikiBase(String wikiBase)
Base url to the wiki to use. |
static String |
toOddEvenString(int number)
Returns the string "odd" or "even", depending on the number given. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String WIKI_BASE_PROPERTY
| Constructor Detail |
|---|
public Java2Html()
throws IOException
IOException - In case the current working directory cannot be
determined.| Method Detail |
|---|
public static void main(String[] args)
throws IOException,
JAXBException
args - The command line arguments.
IOException - an io exception occurs.
JAXBException - if the xml can not be parsed.public static String toOddEvenString(int number)
number - the number to check if it'S odd or even.
public void setPackageBase(String packageBase)
packageBase - the project base package name.public void setTimestamp(String timestamp)
timestamp - the report creation timestamp.public void setCoverageData(boolean coverageDataAvailable)
coverageDataAvailable - true, if coverage data is available and
should be taken into account.public void setStyle(String style)
style - the css file to be used can be relative to report path or
absolute.public void setWikiBase(String wikiBase)
wikiBase - url to the wiki to use.public void setCvsBase(String cvsBase)
cvsBase - url that points to a web cvs of the project.public void setCvsSuffix(String suffix)
suffix - String, to be added at the end of web vc links.public String getProjectName()
public void setProjectName(String name)
name - the name of the project used as readable string at several
places in the report.public void setTabwidth(String tabWidth)
tabWidth - the tab width to assume in input files.public void setLoglevel(String loglevel)
Level.parse(String).
loglevel - the log level to set.public void setSourceCharset(Charset charset)
charset - The char-set in which the source files are expected.
public void setProjectHome(File file)
throws IOException
file - base path where the source files can be found.
IOException - if access to the path fails.
public void setInputFile(File file)
throws IOException
file - input file containing the jcoderz report.
IOException - if access to the file fails.
public void setOutDir(File dir)
throws IOException
dir - the output directory where the report should be written to.
IOException - if access or creation of the directory fails.
public void process()
throws JAXBException,
IOException
JAXBException - if the xmp parsing fails.
IOException - if a IO problem occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||