org.scijava.io
Interface Location

All Known Implementing Classes:
AbstractLocation, BytesLocation, FileLocation, URILocation, URLLocation

public interface Location

A location is a data descriptor, such as a file on disk, a remote URL, or a database connection.

Analogous to a uniform resource identifier (URI), a location identifies where the data resides, without necessarily specifying how to access that data. The DataHandle interface defines a plugin that knows how to provide a stream of bytes for a particular kind of location.

Author:
Curtis Rueden

Method Summary
 URI getURI()
          Gets the location expressed as a URI, or null if the location cannot be expressed as such.
 

Method Detail

getURI

URI getURI()
Gets the location expressed as a URI, or null if the location cannot be expressed as such.



Copyright © 2009–2015 SciJava. All rights reserved.