Package it.could.util.location

This package contains a number of utility classes to parse and work with URLs.

See:
          Description

Class Summary
Location An utility class representing an HTTP-like URL.
Location.Authority The Authority class represents the autority and user information for a Location.
Location.Schemes The Schemes class represents an unmodifiable ordered collection of String schemes for a Location.
Parameters The Parameters class represents a never empty and immutable List of Parameter instances, normally created parsing a query string.
Parameters.Parameter The Parameter class represents a single parameter either parsed from a query string or a path element.
Path The Path class is an ordered collection of Element instances representing a path structure.
Path.Element The Element class represents a path element within the Path structure.
 

Package it.could.util.location Description

This package contains a number of utility classes to parse and work with URLs.

The URL class already provides most of the functionality covered by this package, but certain limitations in its implementation (for example, all schemes must be registered with the {java.net.URLStreamHandler} class before they can be used), prompted the re-development of a similar API.

For further details on what the different classes in this package mean and how they interact, see the Location class documentation, but as a reference, this is a picture outlining the structure:

URL components