Package ch.goodsolutions.codeutils

Source Code of ch.goodsolutions.codeutils.CleanCVSTags

package ch.goodsolutions.codeutils;

import java.io.File;

import org.olat.core.util.FileUtils;
import org.olat.core.util.FileVisitor;

public class CleanCVSTags {

  /**
   * @param args
   */
  public static void main(String[] args) {
    // work in progress
    FileVisitor fv = new FileVisitor() {

      public void visit(File file) {
        // TODO Auto-generated method stub
        String fname = file.getName();
        if (fname.endsWith(".java")) {
          System.out.println(fname);
          // use ^ ?\*.*\$[^\$]*\$$ to replace cvs tags
        }
      }
    };
   
    FileUtils.visitRecursively(new File("C:/development/workspace/olat4head/webapp/WEB-INF/src"), fv);
   

  }

}
TOP

Related Classes of ch.goodsolutions.codeutils.CleanCVSTags

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.