org.utgenome.shell
クラス ScaffoldGenerator

java.lang.Object
  上位を拡張 org.utgenome.shell.ScaffoldGenerator

public class ScaffoldGenerator
extends Object

Scaffold generator

作成者:
leo

コンストラクタの概要
ScaffoldGenerator(String outputFolder, Create.ScaffoldFileFilter generateFileFilter)
           
 
メソッドの概要
static void copyFile(InputStream in, File dest)
           
 void copyScaffold(String inputResourcePacakge, String outputDir)
          Creates the folder structure for the Tomcat
 void createEclipseLaunchFile(String projectName, String templatePath, String suffix)
           
 void createGWTModuleScaffold(UTGBConfig config)
           
 void createProjectScaffold(UTGBConfig config)
           
static String getPath(File f)
           
static void mkdirs(File dir)
          Create directories including its parent folders if not exist
 void prepareTemplatePropeties(UTGBConfig config)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ScaffoldGenerator

public ScaffoldGenerator(String outputFolder,
                         Create.ScaffoldFileFilter generateFileFilter)
メソッドの詳細

prepareTemplatePropeties

public void prepareTemplatePropeties(UTGBConfig config)

createProjectScaffold

public void createProjectScaffold(UTGBConfig config)
                           throws IOException,
                                  UTGBShellException
例外:
IOException
UTGBShellException

createGWTModuleScaffold

public void createGWTModuleScaffold(UTGBConfig config)
                             throws IOException,
                                    UTGBShellException
例外:
IOException
UTGBShellException

createEclipseLaunchFile

public void createEclipseLaunchFile(String projectName,
                                    String templatePath,
                                    String suffix)
                             throws IOException,
                                    UTGBShellException
例外:
IOException
UTGBShellException

copyScaffold

public void copyScaffold(String inputResourcePacakge,
                         String outputDir)
                  throws IOException
Creates the folder structure for the Tomcat

パラメータ:
catalinaBase -
例外:
IOException

copyFile

public static void copyFile(InputStream in,
                            File dest)
                     throws IOException
例外:
IOException

mkdirs

public static void mkdirs(File dir)
Create directories including its parent folders if not exist

パラメータ:
dir -

getPath

public static String getPath(File f)


Copyright © 2007-2011 utgenome.org. All Rights Reserved.