org.springframework.beans
Class LicenseHeaderTest

java.lang.Object
  extended by org.springframework.beans.LicenseHeaderTest

public class LicenseHeaderTest
extends Object


Constructor Summary
LicenseHeaderTest()
           
 
Method Summary
protected  void exec(String[] args)
           
protected  List<File> getFiles(File dir)
           
protected  String getGoodContent(String content, String[] invalidHeaders)
           
protected  String[] getInvalidHeaders()
           
protected  List<File> getProblemFiles(List<File> files)
           
protected  int getPrologIndex(List<String> strings)
           
protected  boolean isAdd(File file)
           
protected  boolean isMultipleCopyRights(List<String> strings)
           
protected  boolean isProlog(String s)
           
protected  boolean isSkip(File file)
           
static void main(String[] args)
           
protected  void reWrite(File file, String[] invalidHeaders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseHeaderTest

public LicenseHeaderTest()
Method Detail

main

public static void main(String[] args)

exec

protected void exec(String[] args)

reWrite

protected void reWrite(File file,
                       String[] invalidHeaders)
                throws IOException
Throws:
IOException

getGoodContent

protected String getGoodContent(String content,
                                String[] invalidHeaders)

getInvalidHeaders

protected String[] getInvalidHeaders()
                              throws IOException
Throws:
IOException

getProblemFiles

protected List<File> getProblemFiles(List<File> files)
                              throws IOException
Throws:
IOException

isMultipleCopyRights

protected boolean isMultipleCopyRights(List<String> strings)

getPrologIndex

protected int getPrologIndex(List<String> strings)

isProlog

protected boolean isProlog(String s)

isSkip

protected boolean isSkip(File file)

isAdd

protected boolean isAdd(File file)

getFiles

protected List<File> getFiles(File dir)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.