|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlatformItf
Platform specific features.
Method Summary | |
---|---|
Class |
defineClass(String name,
byte[] b)
Define a new class. |
void |
dumpClassToFile(String dirname,
String classname,
byte[] b)
Utility method to write the bytecode from a class to a file. |
Object |
getLoader()
Return the loader used by Juliak for loading classes. |
InputStream |
getResourceAsStream(String name)
Load a ressource. |
Class |
loadClass(String name)
Load a class. |
void |
setLoader(Object cl)
Set the loader to be used by Juliak for loading classes. |
Method Detail |
---|
void setLoader(Object cl)
cl
- the loader.
This parameter must implement ClassLoader. It is declared as an
Object in order to be compliant with the Java ME CLDC version of
Juliak.Object getLoader()
Class loadClass(String name) throws ClassNotFoundException
ClassNotFoundException
InputStream getResourceAsStream(String name)
Class defineClass(String name, byte[] b)
void dumpClassToFile(String dirname, String classname, byte[] b) throws IOException
dirname
- the root directory nameclassname
- the name of the classb
- the bytecode
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |