VirtualFile
VirtualFile is a common interface to handle system files and file resources in JAR.
VirtualFile is a common interface to handle system files and file resources in JAR.
System file resources have an URL prefixed with "file:". e.g., "file:/C:/Program Files/Software/classes/org/xerial/util/FileResource.java" JAR file contents have an URL prefixed with "jar:file: e.g., "jar:file:/C:/Program Files/Software/something.jar!/org/xerial/util/FileResource.java"
- Authors
leo
Value members
Abstract methods
Gets the logical path of the file. For example, if this VirtualFile' URL is "file:/somewhere/org/xerial/util/FileResource.java", its logical name is org/xerial/util/FileResource.java, beginning from the root package.
Gets the logical path of the file. For example, if this VirtualFile' URL is "file:/somewhere/org/xerial/util/FileResource.java", its logical name is org/xerial/util/FileResource.java, beginning from the root package.