Class 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 Detail

      • dir

        public java.io.File dir
      • startCopyrightYear

        public java.lang.String startCopyrightYear
      • newCopyrightYear

        public java.lang.String newCopyrightYear
      • license

        public java.lang.String license
    • Constructor Detail

      • CopyrightUpdateTool

        public CopyrightUpdateTool()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • processLine

        protected java.lang.String processLine​(java.lang.String line)