static String getpassword(String prefix) { String password = System.getProperty(prefix + "storepassword"); if (password != null) { password = password.trim(); if (password.length() == 0) password = null; } return password; }
static String cleanproperty(String property) { String value = System.getProperty(property); if (value != null) { value = value.trim(); if (value.length() == 0) value = null; } return value; }
static String getstorepath(String prefix) { String path = System.getProperty(prefix + "store"); if (path != null) { path = path.trim(); if (path.length() == 0) path = null; } return path; }