|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.javadoc.JavadocWarningsTextToXml
public class JavadocWarningsTextToXml
Converts the javadoc warnings into an xml (xdoc format) file.
Constructor Summary | |
---|---|
JavadocWarningsTextToXml()
|
Method Summary | |
---|---|
void |
build()
Builds the xml file from the javadoc report input. |
String |
getInputFileName()
Returns the name of the input file. |
String |
getOutputEncoding()
Returns the output encoding. |
String |
getOutputFileName()
Returns the name of the output file. |
boolean |
isVerbose()
Returns the verbose. |
static void |
main(String[] args)
Invokes an instance of JavadocWarningsTextToXml from the
command line. |
void |
setInputFileName(String inputFileNameValue)
Sets the name of the input file. |
void |
setOutputEncoding(String outputEncodingValue)
Sets the output encoding. |
void |
setOutputFileName(String outputFileNameValue)
Sets the output file name. |
void |
setVerbose(boolean verboseValue)
Sets the verbose mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavadocWarningsTextToXml()
Method Detail |
---|
public static void main(String[] args) throws IOException
JavadocWarningsTextToXml
from the
command line. The following command line arguments are expected in this
order:
args
- the command line arguments
IOException
- if an exception occurs opening, reading, or writing
filespublic void setInputFileName(String inputFileNameValue)
inputFileNameValue
- the input file namepublic String getInputFileName()
public void setOutputEncoding(String outputEncodingValue)
outputEncodingValue
- the output encodingpublic String getOutputEncoding()
public void setOutputFileName(String outputFileNameValue)
outputFileNameValue
- the output file namepublic String getOutputFileName()
public void setVerbose(boolean verboseValue)
verboseValue
- the verbose mode.public void build() throws FileNotFoundException, IOException, UnsupportedEncodingException
FileNotFoundException
- if the input file cannot be opened for
reading or the output file cannot be opened for writing
IOException
- if an error occurs reading or writing
UnsupportedEncodingException
- if an unknown encoding was specifiedpublic boolean isVerbose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |