sbt.internal.inc.JarUtils.ClassInJar
See theClassInJar companion object
final class ClassInJar(val toString: String) extends AnyVal
ClassInJar
is an identifier for a class located inside a jar. For plain class files it is enough to simply use the actual file system path. A class in a jar is identified as a path to the jar and path to the class within that jar (RelClass
). Those two values are held in one string separated by !
. Slashes in both paths are consistent with File.separatorChar
as the actual string is usually kept in File
object.
As an example: given a jar file "C:\develop\zinc\target\output.jar" and a relative path to the class "sbt/internal/inc/Compile.class" The resulting identifier would be: "C:\develop\zinc\target\output.jar!sbt\internal\inc\Compile.class"
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
In this article