Trait

org.scalajs.core.tools.classpath.builder

ClasspathElementsTraverser

Related Doc: package builder

Permalink

trait ClasspathElementsTraverser extends JarTraverser with DirTraverser with FileSystem

A helper trait to traverse an arbitrary classpath element (i.e. a JAR or a directory).

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ClasspathElementsTraverser
  2. DirTraverser
  3. JarTraverser
  4. FileSystem
  5. ClasspathContentHandler
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. abstract type File

    Permalink
    Definition Classes
    FileSystem

Abstract Value Members

  1. abstract 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
    FileSystem
  2. abstract def exists(f: File): Boolean

    Permalink
    Definition Classes
    FileSystem
  3. abstract 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
    FileSystem
  4. abstract def getName(f: File): String

    Permalink
    Definition Classes
    FileSystem
  5. abstract 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
    FileSystem
  6. abstract def handleDepManifest(m: ⇒ JSDependencyManifest): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ClasspathContentHandler
  7. abstract def handleIR(relPath: String, ir: ⇒ VirtualScalaJSIRFile): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ClasspathContentHandler
  8. abstract def handleJS(relPath: String, js: ⇒ VirtualJSFile): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ClasspathContentHandler
  9. abstract def isDirectory(f: File): Boolean

    Permalink
    Definition Classes
    FileSystem
  10. abstract def isFile(f: File): Boolean

    Permalink
    Definition Classes
    FileSystem
  11. abstract def isIRFile(f: File): Boolean

    Permalink
    Definition Classes
    FileSystem
  12. abstract def isJARFile(f: File): Boolean

    Permalink
    Definition Classes
    FileSystem
  13. abstract def isJSFile(f: File): Boolean

    Permalink
    Definition Classes
    FileSystem
  14. abstract def listFiles(d: File): Traversable[File]

    Permalink

    List files in a directory

    List files in a directory

    Definition Classes
    FileSystem
  15. abstract def toIRFile(f: File): VirtualScalaJSIRFile

    Permalink
    Definition Classes
    FileSystem
  16. abstract def toInputStream(f: File): InputStream

    Permalink
    Definition Classes
    FileSystem
  17. abstract def toJSFile(f: File): VirtualJSFile

    Permalink
    Definition Classes
    FileSystem
  18. abstract def toReader(f: File): Reader

    Permalink
    Definition Classes
    FileSystem

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. 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
  11. 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
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

    Permalink
    Attributes
    protected
  20. def traverseDir(dir: File): String

    Permalink

    Traverses elements, returns a version string

    Traverses elements, returns a version string

    Attributes
    protected
    Definition Classes
    DirTraverser
  21. 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
  22. final def wait(): Unit

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

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

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

Inherited from DirTraverser

Inherited from JarTraverser

Inherited from FileSystem

Inherited from ClasspathContentHandler

Inherited from AnyRef

Inherited from Any

Ungrouped