Logo Search packages:      
Sourcecode: octave-java version File versions  Download package

Static Public Member Functions | Package Attributes | Static Package Attributes | Static Private Member Functions | Static Private Attributes

org::octave::ClassHelper Class Reference

Collaboration diagram for org::octave::ClassHelper:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static boolean addClassPath (String name) throws Exception
static Object arraySubsasgn (Object obj, int[][] idx, Object rhs) throws Exception
static Object arraySubsref (Object obj, int[][] idx) throws Exception
static Object createArray (Object cls, int[] dims) throws Exception
static Object createArray (Object cls, int length) throws Exception
static Constructor findConstructor (Class cls, Class[] argTypes)
static Method findMethod (Class cls, String name, Class[] argTypes)
static String getClassPath ()
static Object getField (Object target, String name) throws Throwable
static String getFields (Object obj) throws ClassNotFoundException
static String getFields (String classname) throws ClassNotFoundException
static String getFields (Class klass)
static String getMethods (String classname) throws ClassNotFoundException
static String getMethods (Object obj) throws ClassNotFoundException
static String getMethods (Class klass)
static Object getStaticField (String cls, String name) throws Throwable
static Object invokeConstructor (String cls, Object[] args, Class[] argTypes) throws Throwable
static Object invokeMethod (Object target, String name, Object[] args, Class[] argTypes) throws Throwable
static Object invokeStaticMethod (String cls, String name, Object[] args, Class[] argTypes) throws Throwable
static boolean removeClassPath (String name) throws Exception
static void setField (Object target, String name, Object value) throws Exception
static void setStaticField (String cls, String name, Object value) throws Exception

Package Attributes

 loader

Static Package Attributes

static ClassLoader l = ClassHelper.class.getClassLoader ()

Static Private Member Functions

static Object castArgument (Object obj, Class type, Class expType)
static Object[] castArguments (Object[] args, Class[] argTypes, Class[] expTypes)
static Object castArray (Object obj, Class elemType, Class elemExpType)
static int getArrayClassNDims (Class cls)
static Class getArrayElemClass (Class cls)
static Object getArrayElements (Object array, int[][] idx, int offset, int ndims, Class elemType)
static Object invokeMethod (Method m, Object target, Object[] args) throws Exception
static boolean isBooleanClass (Class cls)
static boolean isCallableFrom (Method m, Class[] argTypes)
static boolean isCallableFrom (Class expCls, Class argCls)
static boolean isCallableFrom (Constructor c, Class[] argTypes)
static boolean isCharClass (Class cls)
static boolean isNumberClass (Class cls)
static boolean isStringClass (Class cls)
static Object setArrayElements (Object array, int[][] idx, int offset, int ndims, Object rhs) throws Exception

Static Private Attributes

static OctClassLoader loader

Detailed Description

Definition at line 21 of file ClassHelper.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index