com.jalios.jcms.tools
Class JspChecker

java.lang.Object
  extended by com.jalios.jcms.tools.JspChecker

public class JspChecker
extends Object


Field Summary
static String REVISION
           
 
Constructor Summary
JspChecker()
           
 
Method Summary
static int checkAll(File webappDir)
           
static int checkAName(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static int checkFormMethodCaseSensitive(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static int checkGetParameter(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static int checkImage(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static int checkNestedForeach(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static int checkQuoteInQuote(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static int checkSystemOut(File jspFile, String relativeFilePath, String fileContent, List<String> fileLinesList, String fileMd5Signature)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

JspChecker

public JspChecker()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

checkAll

public static int checkAll(File webappDir)
                    throws IOException
Throws:
IOException

checkNestedForeach

public static int checkNestedForeach(File jspFile,
                                     String relativeFilePath,
                                     String fileContent,
                                     List<String> fileLinesList,
                                     String fileMd5Signature)

checkQuoteInQuote

public static int checkQuoteInQuote(File jspFile,
                                    String relativeFilePath,
                                    String fileContent,
                                    List<String> fileLinesList,
                                    String fileMd5Signature)

checkAName

public static int checkAName(File jspFile,
                             String relativeFilePath,
                             String fileContent,
                             List<String> fileLinesList,
                             String fileMd5Signature)

checkSystemOut

public static int checkSystemOut(File jspFile,
                                 String relativeFilePath,
                                 String fileContent,
                                 List<String> fileLinesList,
                                 String fileMd5Signature)

checkGetParameter

public static int checkGetParameter(File jspFile,
                                    String relativeFilePath,
                                    String fileContent,
                                    List<String> fileLinesList,
                                    String fileMd5Signature)

checkImage

public static int checkImage(File jspFile,
                             String relativeFilePath,
                             String fileContent,
                             List<String> fileLinesList,
                             String fileMd5Signature)
                      throws IOException
Throws:
IOException

checkFormMethodCaseSensitive

public static int checkFormMethodCaseSensitive(File jspFile,
                                               String relativeFilePath,
                                               String fileContent,
                                               List<String> fileLinesList,
                                               String fileMd5Signature)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.