public interface ReadableDataLocation
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes (and removes if appropriate) any resources that are held open
|
ReadableDataLocation |
copy()
Returns a copy of this ReadableDataLocation.
|
java.io.InputStream |
getInputStream()
This method is guaranteed to return a new InputStream on each method call.
|
java.lang.String |
getName()
If this ReadableDataLocation originated from a file, then this will be the original file name,
regardless of where the stream is actually held.
|
boolean |
isClosed()
Returns whether this ReadableDataLocation is closed or not.
|
java.io.InputStream getInputStream()
java.lang.String getName()
void close()
boolean isClosed()
ReadableDataLocation copy()