Class URLLocation
java.lang.Object
org.apache.maven.plugins.assembly.io.FileLocation
org.apache.maven.plugins.assembly.io.URLLocation
- All Implemented Interfaces:
Location
The URL Location, storing the URL content to a temporary local file.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionURLLocation
(URL url, String specification, String tempFilePrefix, String tempFileSuffix, boolean tempFileDeleteOnExit) -
Method Summary
Methods inherited from class org.apache.maven.plugins.assembly.io.FileLocation
close, getFile, getInputStream, getSpecification, open, read, read, setFile, unsafeGetFile
-
Field Details
-
url
-
tempFilePrefix
-
tempFileSuffix
-
tempFileDeleteOnExit
private final boolean tempFileDeleteOnExit
-
-
Constructor Details
-
Method Details
-
initFile
Description copied from class:FileLocation
initialize file.- Overrides:
initFile
in classFileLocation
- Throws:
IOException
- in case of error
-