public class Util extends Object
public static Properties getPropertiesObj(String filename)
public static String runRemoteCommand(String command) throws com.jcraft.jsch.JSchException, IOException
com.jcraft.jsch.JSchException
IOException
public static APIResult getApiResult(javax.ws.rs.core.Response response)
public static <T> Object extractObject(String queryString, Class<T> c) throws InstantiationException, IllegalAccessException
public static <T> Object getObject(String queryString, Class<T> c) throws InstantiationException, IllegalAccessException
public static <T> String convertObjectToXml(T object, Class<T> clazz, String functionName) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
public static Marshaller getMarshaller(Class clazz)
public static HashMap<String,String> stringListToMap(StringList stringList)
public static HashMap<String,String> stringListToMap(String paramList) throws Exception
Exception
public static void changeConfig(HashMap<String,String> map, String remotePath) throws Exception
Exception
public static final void prettyPrint(Document xml) throws TransformerFactoryConfigurationError, TransformerException
public static void remoteFile(String function, String remotePath, String localPath) throws com.jcraft.jsch.JSchException, com.jcraft.jsch.SftpException
com.jcraft.jsch.JSchException
com.jcraft.jsch.SftpException
public static void changeConfig(String remotePath) throws com.jcraft.jsch.JSchException, com.jcraft.jsch.SftpException
com.jcraft.jsch.JSchException
com.jcraft.jsch.SftpException
public static Map<String,String> mapFromXProperties(XProperties xProperties)
public static XProperties xPropertiesFromMap(Map<String,String> map)
public static XMLGregorianCalendar getXMLGregorianCalendar(Date d)
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.