| java.lang.Object uk.org.ponder.stringutil.URLUtil
URLUtil | public class URLUtil (Code) | | Utilities for operating on URLs
|
appendAttribute | public static String appendAttribute(String url, String name, String value)(Code) | | Append the supplied name/value pair to the end of the supplied URL,
after URLencoding name and value.
|
appendAttribute | public static void appendAttribute(CharWrap togo, boolean isfirst, String name, String value)(Code) | | Append the supplied name/value pair to the end of the supplied URL,
after URLencoding name and value. The attribute will use the ? or &
character according to whether isfirst is true or false.
|
deSpace | public static String deSpace(String URL)(Code) | | URL-encodes only the whitespace characters in a URL (necessary for some
faulty incomplete encodings).
|
decodeURL | public static String decodeURL(String url)(Code) | | Decodes a URL assuming UTF-8, and wrapping any tedious exceptions
|
isAbsolute | public static boolean isAbsolute(String url)(Code) | | |
paramsToMap | public static Map paramsToMap(String extraparams, Map target)(Code) | | Convert list of URL-form name/value pairs into a Map representation
|
|
|