You are on page 1of 1

if(!loginResponse.contains(CMSProperties.getWebcoreLoginConfirmed())) // if (CMSUtility.contains(loginResponse, // CMSProperties.

getWebcoreLoginConfirmed())) { public static String currentTimestamp(String type) { SimpleDateFormat format = null; format = new SimpleDateFormat(type); Date now = new Date(); long time = now.getTime(); String timeStr = format.format(new Date(time)); return timeStr; } /** * Convert Byte To String <BR> * * @param data * Byte stream data * @return String */ public static String convertByteToString(byte[] data) { if (data == null) { return null; } try { return new String(data, "UTF-8").trim(); } catch (Exception e) { return null; } } /** sendAddress */ private static String sendAddress = Constants.BLANK;

You might also like