Back to project page cube-sdk.
The source code is released under:
Apache License
If you think the Android project cube-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package in.srain.cube.util; /*from ww w . j a v a 2 s.c o m*/ public class Env { private static final String ENV_PROD = "prod"; private static final String ENV_PRE = "pre"; private static final String ENV_DEV = "dev"; private static String sEnvTag = ENV_DEV; public static boolean isProd() { return ENV_PROD.equals(sEnvTag); } public static boolean isPre() { return ENV_PRE.equals(sEnvTag); } public static boolean isDev() { return ENV_DEV.equals(sEnvTag); } public static String getEnvTag() { return sEnvTag; } public static void setEnvTag(String tag) { sEnvTag = tag; } }