jep
Class ClassList

java.lang.Object
  extended by jep.ClassList

public class ClassList
extends java.lang.Object

 Jep.java - Embeds CPython in Java.

 Copyright (c) 2004, 2005 Mike Johnson.

 This file is licenced under the the zlib/libpng License.

 This software is provided 'as-is', without any express or implied
 warranty. In no event will the authors be held liable for any
 damages arising from the use of this software.
 
 Permission is granted to anyone to use this software for any
 purpose, including commercial applications, and to alter it and
 redistribute it freely, subject to the following restrictions:
 
     1. The origin of this software must not be misrepresented; you
     must not claim that you wrote the original software. If you use
     this software in a product, an acknowledgment in the product
     documentation would be appreciated but is not required.
 
     2. Altered source versions must be plainly marked as such, and
     must not be misrepresented as being the original software.
 
     3. This notice may not be removed or altered from any source
     distribution.

 Created: Sat Sep 2 10:03:21 2006

 For internal use. Searches Java jvm for loaded classes.

 

Version:
$Id: ClassList.java 340 2006-09-17 23:09:13Z mrjohnson0 $
Author:
[mrjohnson0 at sourceforge.net] Mike Johnson

Method Summary
static java.lang.String[] get(java.lang.String p)
          get classnames in package
static ClassList getInstance()
          get ClassList instance
static void main(java.lang.String[] argv)
          testing only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static java.lang.String[] get(java.lang.String p)
                              throws JepException
get classnames in package

Parameters:
p - a String value
Returns:
String[] array of class names
Throws:
JepException - if an error occurs

getInstance

public static ClassList getInstance()
                             throws JepException
get ClassList instance

Returns:
ClassList instance
Throws:
JepException

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Throwable
testing only

Throws:
java.lang.Throwable