public final class Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteEmptyDirsOnPath(String path,
String stopPoint)
Deletes all empty directories on the given path, starting from the end.
|
static String |
getFormattedDuration(long timeInMilliSeconds)
Calculates the difference between current time and the given time and formats it according
to the days, hours and minutes format.
|
static String |
getTryitURL(String serviceName,
org.apache.axis2.context.ConfigurationContext configurationContext) |
static String[] |
getWsdlInformation(String serviceName,
org.apache.axis2.engine.AxisConfiguration axisConfig) |
public static String[] getWsdlInformation(String serviceName, org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic static String getTryitURL(String serviceName, org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic static void deleteEmptyDirsOnPath(String path, String stopPoint)
path - - path to delete directoriesstopPoint - - dirs are deleted only upto this pointpublic static String getFormattedDuration(long timeInMilliSeconds)
timeInMilliSeconds - - start timeCopyright © 2016 WSO2. All rights reserved.