public class Copyright extends Object
| Modifier and Type | Field and Description |
|---|---|
File |
alternateTemplate |
File |
correctTemplate |
static boolean |
count |
boolean |
debug |
boolean |
doHidden |
boolean |
doJava |
boolean |
dontUpdate |
boolean |
doProps |
boolean |
doRepair |
boolean |
doText |
boolean |
doXml |
int |
errors |
List<String> |
excludes |
boolean |
git |
static List<String> |
ignoredDirs |
boolean |
ignoreYear |
boolean |
mercurial |
int |
nDate |
int |
nEmpty |
int |
nMissing |
int |
nNoCE |
int |
nNoYear |
int |
nOldCDDL |
boolean |
normalize |
int |
nSun |
int |
nSunApache |
int |
nSunBSD |
int |
nWrong |
boolean |
quiet |
boolean |
skipNoSVN |
boolean |
useComma |
boolean |
warn |
| Constructor and Description |
|---|
Copyright() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(String ex) |
void |
addExcludes(String file) |
void |
check(File file)
Check the file.
|
void |
checkMaven(File file)
Check a Maven project directory.
|
static void |
main(String[] argv) |
public boolean debug
public boolean warn
public boolean ignoreYear
public boolean useComma
public boolean doRepair
public boolean dontUpdate
public boolean normalize
public boolean skipNoSVN
public boolean doHidden
public boolean mercurial
public boolean git
public static boolean count
public boolean quiet
public boolean doJava
public boolean doXml
public boolean doProps
public boolean doText
public File correctTemplate
public File alternateTemplate
public int nMissing
public int nEmpty
public int nSun
public int nSunApache
public int nSunBSD
public int nOldCDDL
public int nNoCE
public int nWrong
public int nNoYear
public int nDate
public int errors
public void check(File file) throws IOException
IOExceptionpublic void checkMaven(File file) throws IOException
IOExceptionpublic void addExclude(String ex)
public void addExcludes(String file) throws IOException
IOExceptionCopyright © 2017 GlassFish Community. All Rights Reserved.