Class VelocityEngineer


  • public class VelocityEngineer
    extends java.lang.Object
    Author:
    Jorge Campins
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void check()  
      static java.lang.String[] getFileResourceLoaderPathArray()  
      static java.io.StringWriter merge​(org.apache.velocity.VelocityContext context, java.lang.String tempname)  
      static java.io.StringWriter merge​(org.apache.velocity.VelocityContext context, java.lang.String tempname, java.lang.String encoding)  
      static void write​(java.io.StringWriter sw, java.lang.String filename, java.lang.String charset2, boolean pretty)  
      static void write​(org.apache.velocity.VelocityContext context, java.lang.String tempname, java.lang.String filename)  
      static void write​(org.apache.velocity.VelocityContext context, java.lang.String tempname, java.lang.String filename, java.lang.String charset1, java.lang.String charset2)  
      static void write​(org.apache.velocity.VelocityContext context, java.lang.String tempname, java.lang.String filename, java.lang.String charset1, java.lang.String charset2, boolean pretty)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VelocityEngineer

        public VelocityEngineer()
    • Method Detail

      • getFileResourceLoaderPathArray

        public static java.lang.String[] getFileResourceLoaderPathArray()
        Returns:
        the file resource loader path array
      • check

        public static void check()
      • merge

        public static java.io.StringWriter merge​(org.apache.velocity.VelocityContext context,
                                                 java.lang.String tempname)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • merge

        public static java.io.StringWriter merge​(org.apache.velocity.VelocityContext context,
                                                 java.lang.String tempname,
                                                 java.lang.String encoding)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • write

        public static void write​(org.apache.velocity.VelocityContext context,
                                 java.lang.String tempname,
                                 java.lang.String filename)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • write

        public static void write​(org.apache.velocity.VelocityContext context,
                                 java.lang.String tempname,
                                 java.lang.String filename,
                                 java.lang.String charset1,
                                 java.lang.String charset2)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • write

        public static void write​(org.apache.velocity.VelocityContext context,
                                 java.lang.String tempname,
                                 java.lang.String filename,
                                 java.lang.String charset1,
                                 java.lang.String charset2,
                                 boolean pretty)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • write

        public static void write​(java.io.StringWriter sw,
                                 java.lang.String filename,
                                 java.lang.String charset2,
                                 boolean pretty)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception