Constructor and Description |
---|
DefaultFileLocation(java.nio.file.Path path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.file.Path |
getLocalPath() |
java.net.URL |
getURL() |
int |
hashCode() |
boolean |
isLocal() |
java.io.InputStream |
openInputStream() |
java.io.OutputStream |
openOutputStream() |
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.net.URL getURL()
getURL
in interface Location
Location.getURL()
public boolean isLocal()
isLocal
in interface Location
Location.isLocal()
public java.nio.file.Path getLocalPath()
getLocalPath
in interface Location
Location.getLocalPath()
public java.io.OutputStream openOutputStream() throws java.io.IOException
openOutputStream
in interface Location
java.io.IOException
Location.openOutputStream()
public java.io.InputStream openInputStream() throws java.io.IOException
openInputStream
in interface Location
java.io.IOException
Location.openInputStream()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()