object ClassInJar
- Alphabetic
- By Inheritance
- ClassInJar
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(jar: Path, cls: ClassFilePath): ClassInJar
The base constructor for
ClassInJarThe base constructor for
ClassInJar- jar
the jar file
- cls
the relative path to class within the jar
- returns
a proper ClassInJar identified by given jar and path to class
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromFile(f: File): ClassInJar
Initialized
ClassInJarbased on its serialized value stored inside a file - def fromPath(p: Path): ClassInJar
- def fromURL(url: URL, jar: Path): ClassInJar
Converts an URL to a class in a jar to
ClassInJar.Converts an URL to a class in a jar to
ClassInJar. The method is rather trivial as it also takes precomputed path to the jar that it logically should extract itself. However as it is computed at the callsite anyway, to avoid recomputation it is passed as a parameter/As an example, given a URL: "jar:file:///C:/develop/zinc/target/output.jar!/sbt/internal/inc/Compile.class" and a file: "C:\develop\zinc\target\output.jar" it will create a
ClassInJarrepresented as: "C:\develop\zinc\target\output.jar!sbt\internal\inc\Compile.class"- url
url to a class inside a jar
- jar
a jar file where the class is located in
- returns
the class inside a jar represented as
ClassInJar
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()