public class DevelopmentModeClasspathFile extends Object implements ClasspathFile
ClasspathFile
implementation oriented onto development application mode.
Communicates to the actual file via parent jar URL and Vfs.File
descriptor.
Constructor and Description |
---|
DevelopmentModeClasspathFile(URL classpathLocation,
org.reflections.vfs.Vfs.File jarFile) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAbsolutePath()
Get an absolute path of a classpath entry.
|
long |
getLastModified()
Get last modification date of a classpath entry.
|
String |
getName()
Get a name of a classpath entry.
|
int |
hashCode() |
InputStream |
openStream()
Get classpath file contents stream.
|
public DevelopmentModeClasspathFile(URL classpathLocation, org.reflections.vfs.Vfs.File jarFile)
public String getName()
ClasspathEntry
getName
in interface ClasspathEntry
public String getAbsolutePath()
ClasspathEntry
getAbsolutePath
in interface ClasspathEntry
/
public InputStream openStream() throws IOException
ClasspathFile
openStream
in interface ClasspathFile
IOException
public long getLastModified()
ClasspathEntry
getLastModified
in interface ClasspathEntry
long
representation of the last modified dateCopyright © 2003–2020 Magnolia International Ltd.. All rights reserved.