Class/Object

org.scalajs.core.tools.classpath.builder

PartialClasspathBuilder

Related Docs: object PartialClasspathBuilder | package builder

Permalink

class PartialClasspathBuilder extends AbstractPartialClasspathBuilder with PhysicalFileSystem

Allows to create a PartialClasspathBuilder from a (filesystem) classpath

Rules for classpath reading: - IR goes to scalaJSIR - Descends into JARs - Entries stay in order of ‘cp‘, IR remains unordered - Earlier IR entries shadow later IR entries with the same relative path - JS goes to availableLibs (earlier libs take precedence) - JS_DEPENDENCIES are added to dependencies

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PartialClasspathBuilder
  2. PhysicalFileSystem
  3. AbstractPartialClasspathBuilder
  4. ClasspathElementsTraverser
  5. DirTraverser
  6. JarTraverser
  7. FileSystem
  8. ClasspathContentHandler
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PartialClasspathBuilder()

    Permalink

Type Members

  1. type File = java.io.File

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DummyVersion: String

    Permalink

    Dummy version constant to identify files for which a version can not be found.

    Dummy version constant to identify files for which a version can not be found. This constant should never collide with the result of getVersion.

    Definition Classes
    PhysicalFileSystemFileSystem
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def build(cp: Seq[File]): PartialClasspath

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def exists(f: File): Boolean

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getAbsolutePath(f: File): String

    Permalink

    A string that uniquely identifies this file's location

    A string that uniquely identifies this file's location

    Definition Classes
    PhysicalFileSystemFileSystem
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getDummyVersion(f: File): String

    Permalink

    A string that globally identifies a file for which a version can not be found.

    A string that globally identifies a file for which a version can not be found. Example: a file that does not exists.

    Definition Classes
    FileSystem
  15. def getGlobalVersion(f: File): String

    Permalink

    A string that globally identifies the version of a file: If it equals the global version of any other file, they must equal.

    A string that globally identifies the version of a file: If it equals the global version of any other file, they must equal.

    Definition Classes
    FileSystem
  16. def getName(f: File): String

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  17. def getVersion(f: File): String

    Permalink

    A string that identifies the version of a file: If it equals the version of another file with the same absolute path, the two files must be equal.

    A string that identifies the version of a file: If it equals the version of another file with the same absolute path, the two files must be equal. This is usually the lastModified date, but ordering is not required

    Definition Classes
    PhysicalFileSystemFileSystem
  18. def handleDepManifest(m: ⇒ JSDependencyManifest): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPartialClasspathBuilderClasspathContentHandler
  19. def handleIR(relPath: String, ir: ⇒ VirtualScalaJSIRFile): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPartialClasspathBuilderClasspathContentHandler
  20. def handleJS(relPath: String, js: ⇒ VirtualJSFile): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractPartialClasspathBuilderClasspathContentHandler
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def isDirectory(f: File): Boolean

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  23. def isFile(f: File): Boolean

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  24. def isIRFile(f: File): Boolean

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isJARFile(f: File): Boolean

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  27. def isJSFile(f: File): Boolean

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  28. def listFiles(d: File): Traversable[File]

    Permalink

    List files in a directory

    List files in a directory

    Definition Classes
    PhysicalFileSystemFileSystem
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toIRFile(f: File): VirtualScalaJSIRFile

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  34. def toInputStream(f: File): InputStream

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  35. def toJSFile(f: File): VirtualJSFile

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  36. def toReader(f: File): Reader

    Permalink
    Definition Classes
    PhysicalFileSystemFileSystem
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def traverseClasspathElements(cp: Seq[File]): String

    Permalink
    Attributes
    protected
    Definition Classes
    ClasspathElementsTraverser
  39. def traverseDir(dir: File): String

    Permalink

    Traverses elements, returns a version string

    Traverses elements, returns a version string

    Attributes
    protected
    Definition Classes
    DirTraverser
  40. def traverseJar(jar: File): String

    Permalink

    Traverse a Jar and return a version

    Traverse a Jar and return a version

    Attributes
    protected
    Definition Classes
    JarTraverser
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PhysicalFileSystem

Inherited from DirTraverser

Inherited from JarTraverser

Inherited from FileSystem

Inherited from ClasspathContentHandler

Inherited from AnyRef

Inherited from Any

Ungrouped