FileDocCategorySizeDatePackage
P.javaAPI DocAndroid 1.5 API682Wed May 06 22:41:04 BST 2009tests.api.java.util.support

P

public class P extends Object

Fields Summary
private Class
c
Constructors Summary
Methods Summary
public java.lang.StringfindProp(java.lang.String key)

        return findProp(this.c, key);
    
private java.lang.StringfindProp(java.lang.Class cls, java.lang.String key)

        String ret = null;
        try {
            ResourceBundle b = ResourceBundle.getBundle(cls.getName());
            ret = (String)b.getObject(key);
        } catch (Exception e) {
        }
        if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) {
            ret = findProp(cls.getSuperclass(), key);
        }
        return ret;
    
public voidsetClazz(java.lang.Class c)

        this.c = c;