Object

org.clulab.utils

Files

Related Doc: package utils

Permalink

object Files

File utilities User: mihais Date: 1/9/14

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Files
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 FILE_CHARSET: Charset

    Permalink
  5. val TEMP_DIR_ATTEMPTS: Int

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  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 extractEntry(jarFileName: String, entryName: String, outFileName: String, deleteOnExit: Boolean = true, bufSize: Int = 131072): Unit

    Permalink

    Extracts a file stored inside a jar

    Extracts a file stored inside a jar

    jarFileName

    The name of the jar file

    entryName

    The name of the file to be extracted

    outFileName

    The extracted file will be saved here

  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. def loadFile(path: File): BufferedReader

    Permalink
  16. def loadFile(path: String): BufferedReader

    Permalink
  17. def loadObjectStreamFromClasspath(path: String): ObjectInputStream

    Permalink

    Creates an ObjectInputStream for this path in our CLASSPATH.

  18. def loadStreamFromClasspath(path: String): BufferedReader

    Permalink

    Creates a BufferedReader for this path in our CLASSPATH.

  19. def mkTmpDir(prefix: String, deleteOnExit: Boolean = true): String

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def newGZIPInputStream(filename: String): GZIPInputStream

    Permalink
  22. def newGZIPInputStream(file: File): GZIPInputStream

    Permalink
  23. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def toBufferedReader(r: Reader): BufferedReader

    Permalink
  27. def toPrintWriter(w: Writer): PrintWriter

    Permalink
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def findFiles(dir: String, ext: String): List[File]

    Permalink

    Recursively finds all files with the given extension in the given directory

    Recursively finds all files with the given extension in the given directory

    Annotations
    @deprecated
    Deprecated

    (Since version 8.3.3) This call to findFiles is deprecated. Please use org.clulab.utils.FileUtils.findFiles() instead.

Inherited from AnyRef

Inherited from Any

Ungrouped