is System Class by class qualified name - Android java.lang

Android examples for java.lang:Class

Description

is System Class by class qualified name

Demo Code


public class Main{

    public static boolean isSystemClass(String name) {
        return name.startsWith("java.") || name.startsWith("javax.")
                || name.startsWith("android.");
    }//w w w .j  a v  a2s .  c  om

}

Related Tutorials