FileDocCategorySizeDatePackage
Logger.javaAPI DocAndroid 1.5 API3687Wed May 06 22:41:06 BST 2009org.apache.harmony.xnet.provider.jsse

Logger

public class Logger extends Object
This class provides debug logging for JSSE provider implementation TODO: Use java.util.logging

Fields Summary
private static String[]
names
Constructors Summary
Methods Summary
public static org.apache.harmony.xnet.provider.jsse.Logger$StreamgetStream(java.lang.String name)

        try {
            names = AccessController
                    .doPrivileged(new PrivilegedAction<String[]>() {
                        public String[] run() {
                            return System.getProperty("jsse", "").split(",");
                        }
                    });
        } catch (Exception e) {
            names = new String[0];
        }
    
        for (int i=0; i<names.length; i++) {
            if (names[i].equals(name)) {
                return new Stream(name);
            }
        }
        return null;