Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright Telenor Objects AS
 
 package org.coos.messaging.impl;
 
 
public class CldcCOContainer implements COContainer {
    public Class loadClass(String classNamethrows ClassNotFoundException {
        return Class.forName(className);
    }
    public InputStream getResource(String resourceNamethrows IOException {
        InputStream is;
        try {
            is = this.getClass().getResourceAsStream(resourceName);
            if (is != null) {
                return is;
            }
        } catch (Exception ignore) {
        }
        return null;
    }
    public Object getObject(String name) {
        return null;
    }
    public void start() throws Exception {
    }
    public void stop() throws Exception {
    }
New to GrepCode? Check out our FAQ X