org.dbpedia.extraction.util

RichFile

class RichFile extends FileLike[File]

Defines additional methods on Files, which are missing in the standard library.

Linear Supertypes
FileLike[File], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichFile
  2. FileLike
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichFile(file: File)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delete(recursive: Boolean = false): Unit

    Deletes this file or directory and, if this is a directory and recursive is true, all contained file and sub directories.

    Deletes this file or directory and, if this is a directory and recursive is true, all contained file and sub directories.

    Definition Classes
    RichFileFileLike
    Exceptions thrown
    IOException

    if the directory or any of its sub directories could not be deleted

  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def exists: Boolean

    Definition Classes
    RichFileFileLike
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def getFile: File

    Definition Classes
    RichFileFileLike
  13. def hasFiles: Boolean

    Definition Classes
    RichFileFileLike
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def inputStream(): InputStream

    Definition Classes
    RichFileFileLike
  16. def isDirectory: Boolean

    Definition Classes
    RichFileFileLike
  17. def isFile: Boolean

    Definition Classes
    RichFileFileLike
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def list(pattern: Pattern): List[File]

  20. def list: List[File]

    Definition Classes
    RichFileFileLike
  21. def name: String

    returns

    file name, or null if file path has no parts

    Definition Classes
    RichFileFileLike
  22. def names(pattern: Pattern): List[String]

  23. def names: List[String]

    Definition Classes
    RichFileFileLike
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def outputStream(append: Boolean = false): OutputStream

    Definition Classes
    RichFileFileLike
  28. def relativize(child: File): String

    Retrieves the relative path in respect to a given base directory.

    Retrieves the relative path in respect to a given base directory.

    child
    returns

    path from parent to child. uses forward slashes as separators. may be empty. does not end with a slash.

    Exceptions thrown
    IllegalArgumentException

    if parent is not a parent directory of child.

  29. def resolve(name: String): Try[File]

    Definition Classes
    RichFileFileLike
  30. def size(): Long

    Definition Classes
    RichFileFileLike
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    returns

    full path

    Definition Classes
    RichFileFileLike → AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FileLike[File]

Inherited from AnyRef

Inherited from Any

Ungrouped