public String getStartSourceCode ( String packagePath , String strFileName , String strDescription , boolean bResourceListBundle ) { String string ; if ( bResourceListBundle ) { string = "package " + packagePath + ";\n" + "/**\n" + " * @(#)" + strFileName + ".java 0.00 1-Jan-10 Don Corley\n" + " *\n" + " * Copyright © 2010 tourgeek.com. All Rights Reserved.\n" + " * don@donandann.com\n" + " */\n" + "import java.util.*;\n" + "\n" + "/**\n" + " * " + strFileName + " - Resources.\n" + strDescription + "\n" + " */\n" + "public class " + strFileName + " extends ListResourceBundle\n" + "{\n" + "\tpublic Object[][] getContents() {\n" + "\t\treturn contents;\n" + "\t}\n" ; } else string = "# " + strFileName + " property file" + "\n" + "# " + strDescription + "\n" ; return string ; }
GetStartSourceCode Method .