org.scijava.io
Class URILocation

java.lang.Object
  extended by org.scijava.io.AbstractLocation
      extended by org.scijava.io.URILocation
All Implemented Interfaces:
Location

public class URILocation
extends AbstractLocation

Location backed by a URI string.

Author:
Curtis Rueden

Constructor Summary
URILocation(String uriPath)
           
URILocation(URI uri)
           
 
Method Summary
 Map<String,String> getQueryMap()
           
 String getQueryValue(String key)
           
 URI getURI()
          Gets the location expressed as a URI, or null if the location cannot be expressed as such.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URILocation

public URILocation(URI uri)

URILocation

public URILocation(String uriPath)
            throws URISyntaxException
Throws:
URISyntaxException
Method Detail

getQueryMap

public Map<String,String> getQueryMap()

getQueryValue

public String getQueryValue(String key)

getURI

public URI getURI()
Description copied from interface: Location
Gets the location expressed as a URI, or null if the location cannot be expressed as such.

Specified by:
getURI in interface Location
Overrides:
getURI in class AbstractLocation


Copyright © 2009–2015 SciJava. All rights reserved.