org.fraid.utils
Class CreatePlugin

java.lang.Object
  extended by org.fraid.utils.CreatePlugin
Direct Known Subclasses:
CreateFunction

public class CreatePlugin
extends java.lang.Object


Nested Class Summary
static class CreatePlugin.Action
           
 
Field Summary
static java.lang.String sUsage
           
 
Constructor Summary
CreatePlugin()
           
 
Method Summary
static java.lang.String capitalizeName(java.lang.String aName)
           
static void compile(java.lang.String aClassPath, java.io.File aFileName, boolean aPrintOnly)
           
static java.io.File createAlgorithm(java.lang.String aFunctionName, CreatePlugin.Action aAction)
           
static void createGraphicsFunction(java.lang.String aFunctionName, CreatePlugin.Action aAction, boolean aPrintOnly)
           
static java.io.File createPlugin(java.lang.String aFunctionName, CreatePlugin.Action aAction)
           
static void createSettings(java.lang.String aFunctionName, CreatePlugin.Action aAction)
           
static boolean deleteDir(java.io.File dir)
           
static void executeSystemCommand(java.lang.String aSystemCommand)
           
static java.lang.String getClassPathToCompile()
           
static java.io.File getPath(java.lang.String[] aPath)
           
static void main(java.lang.String[] args)
           
static void makeJar(java.lang.String aFunctionName, boolean aPrintOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sUsage

public static java.lang.String sUsage
Constructor Detail

CreatePlugin

public CreatePlugin()
Method Detail

getPath

public static java.io.File getPath(java.lang.String[] aPath)

capitalizeName

public static java.lang.String capitalizeName(java.lang.String aName)

getClassPathToCompile

public static java.lang.String getClassPathToCompile()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

compile

public static void compile(java.lang.String aClassPath,
                           java.io.File aFileName,
                           boolean aPrintOnly)

executeSystemCommand

public static void executeSystemCommand(java.lang.String aSystemCommand)

deleteDir

public static boolean deleteDir(java.io.File dir)

makeJar

public static void makeJar(java.lang.String aFunctionName,
                           boolean aPrintOnly)

createGraphicsFunction

public static void createGraphicsFunction(java.lang.String aFunctionName,
                                          CreatePlugin.Action aAction,
                                          boolean aPrintOnly)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

createPlugin

public static java.io.File createPlugin(java.lang.String aFunctionName,
                                        CreatePlugin.Action aAction)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

createAlgorithm

public static java.io.File createAlgorithm(java.lang.String aFunctionName,
                                           CreatePlugin.Action aAction)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

createSettings

public static void createSettings(java.lang.String aFunctionName,
                                  CreatePlugin.Action aAction)
                           throws java.lang.Exception
Throws:
java.lang.Exception

main

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


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.