Show JarManagement.html syntax highlighted
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_05) on Sun Aug 27 15:11:07 CEST 2006 -->
<TITLE>
JarManagement
</TITLE>
<META NAME="keywords" CONTENT="de.edu.tuberlin.compiereMonitor.classManagement.JarManagement class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="JarManagement";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JarManagement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html" target="_top"><B>FRAMES</B></A>
<A HREF="JarManagement.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
de.edu.tuberlin.compiereMonitor.classManagement</FONT>
<BR>
Class JarManagement</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>de.edu.tuberlin.compiereMonitor.classManagement.JarManagement</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>JarManagement</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Used to read out and store all .class-files within a JAR-Archive.
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Id: JarManagement.html,v 1.1 2006/09/05 20:47:57 oliver_zzx Exp $</DD>
<DT><B>Author:</B></DT>
<DD>Oliver Neumann (beast@cs.tu-berlin.de)
Technical University Berlin, Germany</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#jars">jars</A></B></CODE>
<BR>
storing all classes and jars
stored as: (Jarname, CMJar)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static org.apache.log4j.Logger</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#LOGGER">LOGGER</A></B></CODE>
<BR>
Logger</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMPrimitive</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#PRIMITIVES">PRIMITIVES</A></B></CODE>
<BR>
The known java-primitives in their wrapper-classes</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#JarManagement()">JarManagement</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#add(de.edu.tuberlin.compiereMonitor.classManagement.CMJar)">add</A></B>(<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A> newJar)</CODE>
<BR>
Adds a pre-loaded CMJar to the list of loaded jars</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#add(java.io.File)">add</A></B>(java.io.File jarFile)</CODE>
<BR>
Adding a jar-file to the list of jars</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#findClass(java.lang.String)">findClass</A></B>(java.lang.String className)</CODE>
<BR>
Searches for a specific class or primitive within the list of loaded jars</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#getAllJars()">getAllJars</A></B>()</CODE>
<BR>
Getting all loaded jar-archives</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMPrimitive</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#getAllPrimitives()">getAllPrimitives</A></B>()</CODE>
<BR>
Gets all java-primitives, encapsulated into their wrapper-classses</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#getJar(java.lang.String)">getJar</A></B>(java.lang.String jarName)</CODE>
<BR>
returns the stored CMJar-object for a given jar-archive-name</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMPrimitive</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#getPrimitive(java.lang.String)">getPrimitive</A></B>(java.lang.String datatype)</CODE>
<BR>
Gets the primitive for a given datatype</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#isPrimitive(java.lang.String)">isPrimitive</A></B>(java.lang.String dataType)</CODE>
<BR>
Checks if a given datatype is a primitive datatype like int, boolean...</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#load(java.io.File)">load</A></B>(java.io.File theJarFile)</CODE>
<BR>
Loading a jarfile and creates a CMJar-object out of it</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#refreshClassBrowsers()">refreshClassBrowsers</A></B>()</CODE>
<BR>
Refreshes all classbrowser which are registered at the observer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#remove(java.io.File)">remove</A></B>(java.io.File jarFile)</CODE>
<BR>
Removes the CMJar-object for the given jarfile from the list of loaded jars</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#remove(java.lang.String)">remove</A></B>(java.lang.String jarName)</CODE>
<BR>
Removes the CMJar-object for the given jarfile from the list of loaded jars</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html#removeAll()">removeAll</A></B>()</CODE>
<BR>
Removes all added jars</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="LOGGER"><!-- --></A><H3>
LOGGER</H3>
<PRE>
private static org.apache.log4j.Logger <B>LOGGER</B></PRE>
<DL>
<DD>Logger
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="jars"><!-- --></A><H3>
jars</H3>
<PRE>
private static java.util.Hashtable <B>jars</B></PRE>
<DL>
<DD>storing all classes and jars
stored as: (Jarname, CMJar)
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="PRIMITIVES"><!-- --></A><H3>
PRIMITIVES</H3>
<PRE>
private static final <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMPrimitive</A>[] <B>PRIMITIVES</B></PRE>
<DL>
<DD>The known java-primitives in their wrapper-classes
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="JarManagement()"><!-- --></A><H3>
JarManagement</H3>
<PRE>
public <B>JarManagement</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="remove(java.lang.String)"><!-- --></A><H3>
remove</H3>
<PRE>
public static void <B>remove</B>(java.lang.String jarName)</PRE>
<DL>
<DD>Removes the CMJar-object for the given jarfile from the list of loaded jars
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jarName</CODE> - Name of the jarfile that shall gets removed</DL>
</DD>
</DL>
<HR>
<A NAME="remove(java.io.File)"><!-- --></A><H3>
remove</H3>
<PRE>
public static void <B>remove</B>(java.io.File jarFile)</PRE>
<DL>
<DD>Removes the CMJar-object for the given jarfile from the list of loaded jars
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jarFile</CODE> - The jarfile that shall gets removed</DL>
</DD>
</DL>
<HR>
<A NAME="removeAll()"><!-- --></A><H3>
removeAll</H3>
<PRE>
public static void <B>removeAll</B>()</PRE>
<DL>
<DD>Removes all added jars
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="add(de.edu.tuberlin.compiereMonitor.classManagement.CMJar)"><!-- --></A><H3>
add</H3>
<PRE>
public static void <B>add</B>(<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A> newJar)
throws <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarAlreadyLoaded.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarAlreadyLoaded</A></PRE>
<DL>
<DD>Adds a pre-loaded CMJar to the list of loaded jars
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newJar</CODE> - Loaded Jar to add
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarAlreadyLoaded.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarAlreadyLoaded</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="add(java.io.File)"><!-- --></A><H3>
add</H3>
<PRE>
public static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A> <B>add</B>(java.io.File jarFile)
throws <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarAlreadyLoaded.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarAlreadyLoaded</A>,
<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarLoadFailed.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarLoadFailed</A></PRE>
<DL>
<DD>Adding a jar-file to the list of jars
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jarFile</CODE> - jar-file-object
<DT><B>Returns:</B><DD>loaded and added CMJar-object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarAlreadyLoaded.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarAlreadyLoaded</A></CODE> - If a CMJar with this Jar-Filename as source is already loaded
<DD><CODE><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarLoadFailed.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarLoadFailed</A></CODE> - If the load of the given jarfile failed</DL>
</DD>
</DL>
<HR>
<A NAME="refreshClassBrowsers()"><!-- --></A><H3>
refreshClassBrowsers</H3>
<PRE>
private static void <B>refreshClassBrowsers</B>()</PRE>
<DL>
<DD>Refreshes all classbrowser which are registered at the observer
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getJar(java.lang.String)"><!-- --></A><H3>
getJar</H3>
<PRE>
public static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A> <B>getJar</B>(java.lang.String jarName)</PRE>
<DL>
<DD>returns the stored CMJar-object for a given jar-archive-name
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jarName</CODE> - Name of the jar-archive to get the CMJar for
<DT><B>Returns:</B><DD>CMJar-object of the jarname was already loaded,
null if no CMJar for this jarName was found</DL>
</DD>
</DL>
<HR>
<A NAME="getAllJars()"><!-- --></A><H3>
getAllJars</H3>
<PRE>
public static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A>[] <B>getAllJars</B>()</PRE>
<DL>
<DD>Getting all loaded jar-archives
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Array of CMJar</DL>
</DD>
</DL>
<HR>
<A NAME="load(java.io.File)"><!-- --></A><H3>
load</H3>
<PRE>
private static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMJar.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMJar</A> <B>load</B>(java.io.File theJarFile)
throws <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarLoadFailed.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarLoadFailed</A></PRE>
<DL>
<DD>Loading a jarfile and creates a CMJar-object out of it
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>theJarFile</CODE> - jarFile-object
<DT><B>Returns:</B><DD>CMJar-object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionJarLoadFailed.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionJarLoadFailed</A></CODE> - If the load of the given jarfile failed</DL>
</DD>
</DL>
<HR>
<A NAME="findClass(java.lang.String)"><!-- --></A><H3>
findClass</H3>
<PRE>
public static java.lang.Object <B>findClass</B>(java.lang.String className)
throws <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionClassNotFound.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionClassNotFound</A></PRE>
<DL>
<DD>Searches for a specific class or primitive within the list of loaded jars
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>className</CODE> - The name of the class that is searched for
<DT><B>Returns:</B><DD>A CMClass or CMPrimitive according to the classname if one is found and and CMArray if the given classname indicated an array, or null if none was found
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionClassNotFound.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionClassNotFound</A></CODE> - If the desired class was not found</DL>
</DD>
</DL>
<HR>
<A NAME="isPrimitive(java.lang.String)"><!-- --></A><H3>
isPrimitive</H3>
<PRE>
public static boolean <B>isPrimitive</B>(java.lang.String dataType)</PRE>
<DL>
<DD>Checks if a given datatype is a primitive datatype like int, boolean...
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dataType</CODE> - The datatype to check
<DT><B>Returns:</B><DD>true, if the given datatype is primite, else false</DL>
</DD>
</DL>
<HR>
<A NAME="getAllPrimitives()"><!-- --></A><H3>
getAllPrimitives</H3>
<PRE>
public static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMPrimitive</A>[] <B>getAllPrimitives</B>()</PRE>
<DL>
<DD>Gets all java-primitives, encapsulated into their wrapper-classses
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The <code>CMPrimitive</code>'s</DL>
</DD>
</DL>
<HR>
<A NAME="getPrimitive(java.lang.String)"><!-- --></A><H3>
getPrimitive</H3>
<PRE>
public static <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement">CMPrimitive</A> <B>getPrimitive</B>(java.lang.String datatype)
throws <A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionClassNotFound.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionClassNotFound</A></PRE>
<DL>
<DD>Gets the primitive for a given datatype
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>datatype</CODE> - The datatype to create the primitive for
<DT><B>Returns:</B><DD>The created primitive
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../de/edu/tuberlin/compiereMonitor/exception/CMExceptionClassNotFound.html" title="class in de.edu.tuberlin.compiereMonitor.exception">CMExceptionClassNotFound</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JarManagement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../de/edu/tuberlin/compiereMonitor/classManagement/CMPrimitive.html" title="class in de.edu.tuberlin.compiereMonitor.classManagement"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?de/edu/tuberlin/compiereMonitor/classManagement/JarManagement.html" target="_top"><B>FRAMES</B></A>
<A HREF="JarManagement.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
See more files for this project here