org.scijava.io
Class AbstractLocation

java.lang.Object
  extended by org.scijava.io.AbstractLocation
All Implemented Interfaces:
Location
Direct Known Subclasses:
BytesLocation, FileLocation, URILocation, URLLocation

public abstract class AbstractLocation
extends Object
implements Location

Abstract base class for Location implementations.

Author:
Curtis Rueden

Constructor Summary
AbstractLocation()
           
 
Method Summary
 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

AbstractLocation

public AbstractLocation()
Method Detail

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


Copyright © 2009–2015 SciJava. All rights reserved.