Package nl.colorize.multimedialib.tool
Class CopyrightUpdateTool
- java.lang.Object
-
- nl.colorize.multimedialib.tool.CommandLineTool
-
- nl.colorize.multimedialib.tool.CopyrightUpdateTool
-
public class CopyrightUpdateTool extends CommandLineTool
Command line tool that updates the copyright statement at the top of the file, for all files in a directory. This tool assumes all files use the UTF-8 character encoding and the Unix line separator (\n). Different character encodings or line endings will be replaced.
-
-
Field Summary
Fields Modifier and Type Field Description java.io.Filedirjava.lang.Stringlicensejava.lang.StringnewCopyrightYearjava.lang.StringstartCopyrightYear
-
Constructor Summary
Constructors Constructor Description CopyrightUpdateTool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)protected java.lang.StringprocessLine(java.lang.String line)voidrun()Runs this tool.-
Methods inherited from class nl.colorize.multimedialib.tool.CommandLineTool
start
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
run
public void run()
Description copied from class:CommandLineToolRuns this tool. This method is called byCommandLineTool.start(String[]). When this method is called it can be assumed that arguments have already been mapped to fields.- Specified by:
runin classCommandLineTool
-
processLine
protected java.lang.String processLine(java.lang.String line)
-
-