org.microemu.app.util
Class MIDletResourceLoader

java.lang.Object
  extended by org.microemu.app.util.MIDletResourceLoader

public class MIDletResourceLoader
extends java.lang.Object

Author:
vlads Use MIDletResourceLoader to load resources. To solve resource resource loading paterns commonly used in MIDlet and not aceptable in Java SE application when System class is called to load resource j2me example: String.class.getResourceAsStream(resourceName)

Field Summary
static java.lang.ClassLoader classLoader
          Deprecated. find better solution to share variable
static boolean traceResourceLoading
           
 
Constructor Summary
MIDletResourceLoader()
           
 
Method Summary
static java.io.InputStream getResourceAsStream(java.lang.Class origClass, java.lang.String resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

traceResourceLoading

public static boolean traceResourceLoading

classLoader

public static java.lang.ClassLoader classLoader
Deprecated. find better solution to share variable
Constructor Detail

MIDletResourceLoader

public MIDletResourceLoader()
Method Detail

getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.Class origClass,
                                                      java.lang.String resourceName)


Copyright © 2001-2009 MicroEmulator Team. All Rights Reserved.