Locationpublic class URLLocation extends FileLocation
| Constructor | Description |
|---|---|
URLLocation(java.net.URL url,
java.lang.String specification,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean tempFileDeleteOnExit) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
initFile() |
initialize file.
|
close, getFile, getInputStream, getSpecification, open, read, read, setFile, unsafeGetFilepublic URLLocation(java.net.URL url,
java.lang.String specification,
java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean tempFileDeleteOnExit)
url - The URL.specification - The spec.tempFilePrefix - the prefix.tempFileSuffix - The suffix.tempFileDeleteOnExit - delete on exit.protected void initFile()
throws java.io.IOException
initFile in class FileLocationjava.io.IOException - in case error.