javaruntimes/midp/runtime/javasrc/com/nokia/mj/impl/rt/midp/SaMidletInfoProvider.java
branchRCL_3
changeset 24 0fd27995241b
parent 19 04becd199f91
equal deleted inserted replaced
20:f9bb0fca356a 24:0fd27995241b
    34 import com.nokia.mj.impl.rt.support.ApplicationInfo;
    34 import com.nokia.mj.impl.rt.support.ApplicationInfo;
    35 
    35 
    36 /**
    36 /**
    37  * A utility class for reading the standalone MIDlet specfic data from Jar and
    37  * A utility class for reading the standalone MIDlet specfic data from Jar and
    38  * Jad file (if Jad provided).
    38  * Jad file (if Jad provided).
    39  *
       
    40  * @author Nokia Corporation
       
    41  * @version $Rev$
       
    42  */
    39  */
    43 final class SaMidletInfoProvider
    40 final class SaMidletInfoProvider
    44 {
    41 {
    45 
    42 
    46     /*** ----------------------------- PACKAGE ---------------------------- */
    43     /*** ----------------------------- PACKAGE ---------------------------- */
    89         Hashtable jarAttributes = null;
    86         Hashtable jarAttributes = null;
    90         Hashtable jadAttributes = null;
    87         Hashtable jadAttributes = null;
    91         try
    88         try
    92         {
    89         {
    93             InputStream is = midletInfo.getClass().getResourceAsStream("/META-INF/MANIFEST.MF");
    90             InputStream is = midletInfo.getClass().getResourceAsStream("/META-INF/MANIFEST.MF");
    94             Log.logE("MIKKO is = " + is);
       
    95             jarAttributes = ManifestReader.getAttributes(is);
    91             jarAttributes = ManifestReader.getAttributes(is);
    96             is.close();
    92             is.close();
    97             is = null;
    93             is = null;
    98             if (jadFile != null)
    94             if (jadFile != null)
    99             {
    95             {