| java.lang.Object com.eviware.soapui.support.Tools
Tools | public class Tools (Code) | | |
Method Summary | |
public static String | convertToHtml(String str) | public static int | copyFile(File source, File target, boolean overwrite) | public static String | ensureDir(String dir, String basedir) | public static String | ensureDir(String outputDir) | public static String | ensureFileDir(String file, String basedir) | public static String | expandProperties(StringToStringMap values, String content, boolean leaveMissing) | public static String | getDir(String filePath) | public static String | getFilename(String filePath) | public static boolean | isEmpty(String str) | public static String | joinRelativeUrl(String baseUrl, String url) Joins a relative url to a base url.. | public static void | openURL(String url) | public static ByteArrayOutputStream | readAll(InputStream instream, long maxSize) | public static String | replaceHost(String endpoint, String host) | public static String[] | tokenizeArgs(String args) | public static long | writeAll(OutputStream out, InputStream in) |
COPY_BUFFER_SIZE | final public static int COPY_BUFFER_SIZE(Code) | | |
READ_ALL | final public static long READ_ALL(Code) | | |
joinRelativeUrl | public static String joinRelativeUrl(String baseUrl, String url)(Code) | | Joins a relative url to a base url.. needs improvements..
|
replaceHost | public static String replaceHost(String endpoint, String host)(Code) | | Replaces the host part of the specified endpoint with the specified host
Parameters: endpoint - the endpoint to modify Parameters: host - the host to set the modified endpoint |
|
|