Package com.jogamp.common.net
Class UriQueryProps
java.lang.Object
com.jogamp.common.net.UriQueryProps
Helper class to process URI's query, handled as properties.
The order of the URI segments (any properties) are not preserved.
URI: [scheme:][//authority][path][?query][#fragment] w/ authority: [user-info@]host[:port] Note: 'path' starts w/ fwd slash
Since 2.3.0 renamed from URIQueryProps to UriQueryProps,
and using Uri instead of URI.
-
Method Summary
Modifier and TypeMethodDescriptionfinal UriappendQuery(Uri base) final Uri.EncodedappendQuery(Uri.Encoded baseQuery) static final UriQueryPropsfinal char
-
Method Details
-
getProperties
-
getQuerySeparator
public final char getQuerySeparator() -
appendQuery
-
appendQuery
- Throws:
URISyntaxException
-
create
public static final UriQueryProps create(Uri uri, char querySeparator) throws IllegalArgumentException - Parameters:
uri-querySeparator- should be either ; or &, ; is encouraged due to troubles of escaping &.- Returns:
- Throws:
IllegalArgumentException- ifquerySeparatoris illegal, i.e. neither ; nor &
-