net.sourceforge.pmd

Class CommandLineOptions

public class CommandLineOptions extends Object

BSD-style license; for more info see http://pmd.sourceforge.net/license.html
Constructor Summary
CommandLineOptions(String[] args)
Method Summary
booleancontainsCommaSeparatedFileList()
RenderercreateRenderer()
booleandebugEnabled()
StringgetEncoding()
StringgetExcludeMarker()
StringgetInputPath()
StringgetReportFormat()
StringgetRulesets()
StringgetTargetJDK()
booleanisCheckJavaFiles()
booleanisCheckJspFiles()
booleanshortNamesEnabled()
Stringusage()

Constructor Detail

CommandLineOptions

public CommandLineOptions(String[] args)

Method Detail

containsCommaSeparatedFileList

public boolean containsCommaSeparatedFileList()

createRenderer

public Renderer createRenderer()

debugEnabled

public boolean debugEnabled()

getEncoding

public String getEncoding()

getExcludeMarker

public String getExcludeMarker()

getInputPath

public String getInputPath()

getReportFormat

public String getReportFormat()

getRulesets

public String getRulesets()

getTargetJDK

public String getTargetJDK()

isCheckJavaFiles

public boolean isCheckJavaFiles()

Returns: Returns the checkJavaFiles.

isCheckJspFiles

public boolean isCheckJspFiles()

Returns: Returns the checkJspFiles.

shortNamesEnabled

public boolean shortNamesEnabled()

usage

public String usage()