org.apache.maven.shared.io.location
Class URLLocation

java.lang.Object
  extended by org.apache.maven.shared.io.location.FileLocation
      extended by org.apache.maven.shared.io.location.URLLocation
All Implemented Interfaces:
Location

public class URLLocation
extends FileLocation


Field Summary
private  boolean tempFileDeleteOnExit
           
private  java.lang.String tempFilePrefix
           
private  java.lang.String tempFileSuffix
           
private  java.net.URL url
           
 
Constructor Summary
URLLocation(java.net.URL url, java.lang.String specification, java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)
           
 
Method Summary
protected  void initFile()
           
 
Methods inherited from class org.apache.maven.shared.io.location.FileLocation
close, getFile, getInputStream, getSpecification, open, read, read, setFile, unsafeGetFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

private final java.net.URL url

tempFilePrefix

private final java.lang.String tempFilePrefix

tempFileSuffix

private final java.lang.String tempFileSuffix

tempFileDeleteOnExit

private final boolean tempFileDeleteOnExit
Constructor Detail

URLLocation

public URLLocation(java.net.URL url,
                   java.lang.String specification,
                   java.lang.String tempFilePrefix,
                   java.lang.String tempFileSuffix,
                   boolean tempFileDeleteOnExit)
Method Detail

initFile

protected void initFile()
                 throws java.io.IOException
Overrides:
initFile in class FileLocation
Throws:
java.io.IOException