类 URLLocation
- java.lang.Object
-
- org.apache.maven.shared.io.location.FileLocation
-
- org.apache.maven.shared.io.location.URLLocation
-
- 所有已实现的接口:
Location
public class URLLocation extends FileLocation
The URL Location.
-
-
构造器概要
构造器 构造器 说明 URLLocation(java.net.URL url, java.lang.String specification, java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected void
initFile()
initialize file.-
从类继承的方法 org.apache.maven.shared.io.location.FileLocation
close, getFile, getInputStream, getSpecification, open, read, read, setFile, unsafeGetFile
-
-
-
-
构造器详细资料
-
URLLocation
public 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.
-
-
方法详细资料
-
initFile
protected void initFile() throws java.io.IOException
initialize file.- 覆盖:
initFile
在类中FileLocation
- 抛出:
java.io.IOException
- in case error.
-
-