public interface LocalizableResource extends Resource
If local (checked via Resource.isLocal()
), getFile()
will return its local location,
without any download or copy involved
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile() |
clone, exists, getContentLength, getLastModified, getName, isLocal, openStream
java.io.File getFile()
java.lang.IllegalStateException
- when Resource.isLocal()
returns false