org.utgenome.shell
Class ScaffoldGenerator
java.lang.Object
org.utgenome.shell.ScaffoldGenerator
public class ScaffoldGenerator
- extends java.lang.Object
Scaffold generator
- Author:
- leo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaffoldGenerator
public ScaffoldGenerator(java.lang.String outputFolder,
Create.ScaffoldFileFilter generateFileFilter)
prepareTemplatePropeties
public void prepareTemplatePropeties(UTGBConfig config)
createProjectScaffold
public void createProjectScaffold(UTGBConfig config)
throws java.io.IOException,
UTGBShellException
- Throws:
java.io.IOException
UTGBShellException
createGWTModuleScaffold
public void createGWTModuleScaffold(UTGBConfig config)
throws java.io.IOException,
UTGBShellException
- Throws:
java.io.IOException
UTGBShellException
createEclipseLaunchFile
public void createEclipseLaunchFile(java.lang.String projectName,
java.lang.String templatePath,
java.lang.String suffix)
throws java.io.IOException,
UTGBShellException
- Throws:
java.io.IOException
UTGBShellException
copyScaffold
public void copyScaffold(java.lang.String inputResourcePacakge,
java.lang.String outputDir)
throws java.io.IOException
- Creates the folder structure for the Tomcat
- Parameters:
catalinaBase
-
- Throws:
java.io.IOException
copyFile
public static void copyFile(java.io.InputStream in,
java.io.File dest)
throws java.io.IOException
- Throws:
java.io.IOException
mkdirs
public static void mkdirs(java.io.File dir)
- Create directories including its parent folders if not exist
- Parameters:
dir
-
getPath
public static java.lang.String getPath(java.io.File f)

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.