org.glassfish.copyright
Class Copyright
java.lang.Object
org.glassfish.copyright.Copyright
public class Copyright
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public boolean debug
warn
public boolean warn
ignoreYear
public boolean ignoreYear
doRepair
public boolean doRepair
dontUpdate
public boolean dontUpdate
skipNoSVN
public boolean skipNoSVN
mercurial
public boolean mercurial
git
public boolean git
count
public static boolean count
quiet
public boolean quiet
doJava
public boolean doJava
doXml
public boolean doXml
doProps
public boolean doProps
doText
public boolean doText
correctTemplate
public File correctTemplate
nMissing
public int nMissing
nEmpty
public int nEmpty
nSun
public int nSun
nSunApache
public int nSunApache
nSunBSD
public int nSunBSD
nOldCDDL
public int nOldCDDL
nNoCE
public int nNoCE
nWrong
public int nWrong
nNoYear
public int nNoYear
nDate
public int nDate
errors
public int errors
excludes
public List<String> excludes
ignoredDirs
public static final List<String> ignoredDirs
Copyright
public Copyright()
check
public void check(File file)
throws IOException
- Check the file. If the file is a directory, recurse.
- Throws:
IOException
checkMaven
public void checkMaven(File file)
throws IOException
- Check a Maven project directory.
Skip subdirectories that contain a pom.xml file.
- Throws:
IOException
addExclude
public void addExclude(String ex)
addExcludes
public void addExcludes(String file)
throws IOException
- Throws:
IOException
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
Copyright © 2012 GlassFish Community. All Rights Reserved.