public class FileLocation extends AbstractLocation
| Constructor and Description |
|---|
FileLocation(File file) |
FileLocation(String path) |
FileLocation(URI path) |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Gets the associated
File. |
String |
getName()
Gets a (typically short) name expressing this location.
|
URI |
getURI()
Gets the location expressed as a
URI, or null if the location
cannot be expressed as such. |
equals, hashCodepublic FileLocation(File file)
public FileLocation(String path)
public FileLocation(URI path)
public URI getURI()
LocationURI, or null if the location
cannot be expressed as such.public String getName()
LocationCopyright © 2009–2017 SciJava. All rights reserved.