es.prodevelop.pui9.utils.PuiConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of es.prodevelop.pui9.utils Show documentation
Show all versions of es.prodevelop.pui9.utils Show documentation
Multiple utilities for PUI9 (Gson, CSV, Exceptions...)
The newest version!
package es.prodevelop.pui9.utils;
/**
* This class is a utility class with constants that can be used to use these
* constants instead of create each time new Objects in the application
*
* @author Marc Gil - [email protected]
*/
public class PuiConstants {
public static final String HEADER_TIMEZONE = "Timezone";
public static final String HEADER_API_KEY = "X-API-Key";
public static final String HEADER_SOURCE = "Source";
public static final String BEARER_PREFIX = "Bearer ";
public static final String BASIC_PREFIX = "Basic ";
/**
* Integer value for true values
*/
public static final Integer TRUE_INT = 1;
/**
* Integer value for false values
*/
public static final Integer FALSE_INT = 0;
/**
* String value for true values
*/
public static final String TRUE_STRING = "1";
/**
* String value for false values
*/
public static final String FALSE_STRING = "0";
}