de.uni_paderborn.fujaba.codegen
Class CodeGenTargetParser

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.CodeGenTargetParser

public class CodeGenTargetParser
extends java.lang.Object

Class CodeGenTargetParser

Version:
$Revision: 1.18 $
Author:
$Author: schneider $, $Author: schneider $

Method Summary
static CodeGenTargetParser get()
          get the Singleton instance
 int getDebugLevel()
          Get the value of debugLevel.
static void main(java.lang.String[] args)
          No comment provided by developer, please add a comment to improve documentation.
 void parse(java.lang.String filename)
          Deprecated. will be replaced by parseFile
 void parse(java.lang.String filename, java.lang.ClassLoader loader)
          No comment provided by developer, please add a comment to improve documentation.
 boolean parseFile(java.lang.String filename)
          No comment provided by developer, please add a comment to improve documentation.
 boolean parseFile(java.lang.String filename, java.lang.ClassLoader loader)
          No comment provided by developer, please add a comment to improve documentation.
protected  CodeGenTargetParserPair parsePair(java.lang.String filename)
          try to parse filename.. return targeentry and strategy as pair if successful , else return null
protected  CodeGenTargetParserPair parsePair(java.lang.String filename, java.lang.ClassLoader loader)
          try to parse filename with loader as ClassLoader . return targeentry and strategy as pair if successful , else return null
 void setDebugLevel(int debugLevel)
          Set the value of debugLevel.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static CodeGenTargetParser get()
get the Singleton instance

Returns:
the Singleton instance

parse

public void parse(java.lang.String filename)
Deprecated. will be replaced by parseFile

Parameters:
filename -

parse

public void parse(java.lang.String filename,
                  java.lang.ClassLoader loader)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
filename - No description provided
loader - No description provided

parseFile

public boolean parseFile(java.lang.String filename)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
filename - No description provided
Returns:
No description provided

parseFile

public boolean parseFile(java.lang.String filename,
                         java.lang.ClassLoader loader)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
filename - No description provided
loader - No description provided
Returns:
No description provided

parsePair

protected CodeGenTargetParserPair parsePair(java.lang.String filename)
try to parse filename.. return targeentry and strategy as pair if successful , else return null

Parameters:
filename - name of targetfile
Returns:
No description provided

parsePair

protected CodeGenTargetParserPair parsePair(java.lang.String filename,
                                            java.lang.ClassLoader loader)
try to parse filename with loader as ClassLoader . return targeentry and strategy as pair if successful , else return null

Parameters:
filename - name of targetfile
loader - the classloader
Returns:
No description provided

getDebugLevel

public int getDebugLevel()
Get the value of debugLevel.

Returns:
Value of debugLevel.

setDebugLevel

public void setDebugLevel(int debugLevel)
Set the value of debugLevel.

Parameters:
debugLevel - Value to assign to debugLevel.

toString

public java.lang.String toString()
Returns:
short string representation of current object

main

public static void main(java.lang.String[] args)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
args - No description provided