Subversion Repositories SmartDukaan

Rev

Rev 32955 | Rev 33231 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32955 Rev 33045
Line 45... Line 45...
45
 
45
 
46
	public static final float FLOAT_EPSILON = 0.001f;
46
	public static final float FLOAT_EPSILON = 0.001f;
47
 
47
 
48
	public static final double DOUBLE_EPSILON = 0.001d;
48
	public static final double DOUBLE_EPSILON = 0.001d;
49
 
49
 
-
 
50
 
-
 
51
	public static String[] getAlphaNumericParts(String alphaNumericString) {
-
 
52
		String[] parts = alphaNumericString.split("(?<=\\D)(?=\\d)");
-
 
53
		return parts;
-
 
54
	}
-
 
55
 
50
	private static final Logger logger = LogManager.getLogger(Utils.class);
56
	private static final Logger logger = LogManager.getLogger(Utils.class);
51
	public static final String EXPORT_ENTITIES_PATH = getExportPath();
57
	public static final String EXPORT_ENTITIES_PATH = getExportPath();
52
	public static final String PRODUCT_PROPERTIES_SNIPPET = "ProductPropertiesSnippet.html";
58
	public static final String PRODUCT_PROPERTIES_SNIPPET = "ProductPropertiesSnippet.html";
53
	public static final String DOCUMENT_STORE = "/profitmandi/documents/";
59
	public static final String DOCUMENT_STORE = "/profitmandi/documents/";
54
	private Gson gson = new Gson();
60
	private Gson gson = new Gson();