org.gwe.app.client.web.view
Class MainVelocityTemplate

java.lang.Object
  extended by org.gwe.app.client.web.view.MainVelocityTemplate

public class MainVelocityTemplate
extends java.lang.Object

Since:
Dec 12, 2008
Author:
Marco Ruiz

Constructor Summary
MainVelocityTemplate()
           
MainVelocityTemplate(java.lang.String mainTemplate, java.lang.String contentMacros)
           
 
Method Summary
 java.lang.String createPageTemplate(java.lang.String templateFileName)
           
 java.lang.String getMainPage()
           
static void main(java.lang.String[] args)
           
static java.lang.String readTemplateFile(java.lang.String templateName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainVelocityTemplate

public MainVelocityTemplate()
                     throws java.io.IOException
Throws:
java.io.IOException

MainVelocityTemplate

public MainVelocityTemplate(java.lang.String mainTemplate,
                            java.lang.String contentMacros)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

readTemplateFile

public static java.lang.String readTemplateFile(java.lang.String templateName)
                                         throws java.io.IOException
Throws:
java.io.IOException

createPageTemplate

public java.lang.String createPageTemplate(java.lang.String templateFileName)
                                    throws java.io.IOException
Throws:
java.io.IOException

getMainPage

public java.lang.String getMainPage()

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.