org.apache.fop.datatypes
Class URISpecification
java.lang.Object
org.apache.fop.datatypes.URISpecification
public class URISpecification
extends java.lang.Object
This class contains method to deal with the datatype from XSL-FO.
static String | escapeURI(String uri) - Escapes any illegal URI character in a given URI, for example, it escapes a space to "%20".
|
static String | getURL(String href) - Get the URL string from a wrapped URL.
|
escapeURI
public static String escapeURI(String uri)
Escapes any illegal URI character in a given URI, for example, it escapes a space to "%20".
Note: This method does not "parse" the URI and therefore does not treat the individual
components (user-info, path, query etc.) individually.
getURL
public static String getURL(String href)
Get the URL string from a wrapped URL.
href
- the input wrapped URL
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.