public class Copyright
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.io.File |
alternateTemplate |
java.io.File |
correctBSDTemplate |
java.io.File |
correctTemplate |
static boolean |
count |
boolean |
debug |
boolean |
doHidden |
boolean |
doJava |
boolean |
dontUpdate |
boolean |
doProps |
boolean |
doRepair |
boolean |
doText |
boolean |
doXml |
int |
errors |
java.util.List<java.lang.String> |
excludes |
boolean |
git |
static java.util.List<java.lang.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 |
preserveCopyrights |
boolean |
quiet |
boolean |
skipNoSVN |
boolean |
useComma |
boolean |
verbose |
boolean |
warn |
| Constructor and Description |
|---|
Copyright() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(java.lang.String ex) |
void |
addExcludes(java.lang.String file) |
void |
check(java.io.File file)
Check the file.
|
void |
checkMaven(java.io.File file)
Check a Maven project directory.
|
static void |
main(java.lang.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 boolean preserveCopyrights
public boolean verbose
public java.io.File correctTemplate
public java.io.File alternateTemplate
public java.io.File correctBSDTemplate
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 java.util.List<java.lang.String> excludes
public static final java.util.List<java.lang.String> ignoredDirs
public void check(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic void checkMaven(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic void addExclude(java.lang.String ex)
public void addExcludes(java.lang.String file)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 GlassFish Community. All Rights Reserved.