org.apache.maven.natives.util
Class JavaSourceTool

java.lang.Object
  extended by org.apache.maven.natives.util.JavaSourceTool

public class JavaSourceTool
extends Object

Author:
Kasper Nielsen

Constructor Summary
JavaSourceTool()
           
 
Method Summary
static org.apache.bcel.classfile.JavaClass getBcelClass(String absoluteFileName)
          Parses the java class file and returns an instance of a Bcel Class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSourceTool

public JavaSourceTool()
Method Detail

getBcelClass

public static final org.apache.bcel.classfile.JavaClass getBcelClass(String absoluteFileName)
                                                              throws IOException
Parses the java class file and returns an instance of a Bcel Class

Parameters:
absoluteFileName - the absolute file name to transform
Returns:
the Bcel Class.
Throws:
IOException - upon failure to read the java file


Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.