org.mvel2.templates.util
Class TemplateTools

java.lang.Object
  extended by org.mvel2.templates.util.TemplateTools

public class TemplateTools
extends Object


Constructor Summary
TemplateTools()
           
 
Method Summary
static int captureToEOS(char[] expression, int cursor)
           
static Node getLastNode(Node node)
           
static String readInFile(File file)
           
static String readInFile(String file)
           
static String readStream(InputStream instream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateTools

public TemplateTools()
Method Detail

getLastNode

public static Node getLastNode(Node node)

captureToEOS

public static int captureToEOS(char[] expression,
                               int cursor)

readInFile

public static String readInFile(String file)

readInFile

public static String readInFile(File file)

readStream

public static String readStream(InputStream instream)


Copyright © 2011. All Rights Reserved.