Class/Object

com.github.scaruby

SFile

Related Docs: object SFile | package scaruby

Permalink

class SFile extends SSource

Source
SFile.scala
Linear Supertypes
SSource, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SFile
  2. SSource
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SFile(path: String)

    Permalink

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. def absoluteFile: SFile

    Permalink
  5. def absolutePath: String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def canonicalFile: SFile

    Permalink
  8. def canonicalPath: String

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compareTo(other: SFile): Int

    Permalink
  11. def delete(): Boolean

    Permalink
  12. def deleteOnExit(): Unit

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    SFile → AnyRef → Any
  15. def executable: Boolean

    Permalink
  16. def executable_=(canExecutable: Boolean): Boolean

    Permalink
  17. def exists: Boolean

    Permalink
  18. val file: File

    Permalink
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def freeSpace: Long

    Permalink
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    SFile → AnyRef → Any
  23. def hidden: Boolean

    Permalink
  24. def isAbsolute: Boolean

    Permalink
  25. def isDirectory: Boolean

    Permalink
  26. def isFile: Boolean

    Permalink
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def lastModified: Long

    Permalink
  29. def lastModified_=(time: Long): Boolean

    Permalink
  30. def length: Long

    Permalink
  31. def list(filter: (SFile, String) ⇒ Boolean): Seq[String]

    Permalink
  32. def list: Seq[String]

    Permalink
  33. def listFiles: Seq[SFile]

    Permalink
  34. def listFiles(filter: (SFile) ⇒ Boolean): Seq[SFile]

    Permalink
  35. def mkdir(): Boolean

    Permalink
  36. def mkdirs(): Boolean

    Permalink
  37. def name: String

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

    Permalink
    Definition Classes
    AnyRef
  39. def newFile(): Boolean

    Permalink
  40. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  42. def open(): SInputStream

    Permalink
  43. def openInputStream(): SInputStream

    Permalink

    Opens this SURL and returns a SInputStream bounded to it.

    Opens this SURL and returns a SInputStream bounded to it.

    returns

    SInputStream bounded to the URL

  44. def openInputStreamWith[B](block: (SInputStream) ⇒ B): B

    Permalink

    Opens this SURL, calls the block with opened SInputStream, and closes it.

    Opens this SURL, calls the block with opened SInputStream, and closes it.

    B

    return type of the block

    block

    called with SInputStream

    returns

    the result of the invocation of block

  45. def openOutputStream(): SOutputStream

    Permalink

    Opens this SURL and returns a SOutputStream bounded to it.

    Opens this SURL and returns a SOutputStream bounded to it.

    returns

    SOutputStream bounded to the URL

  46. def openOutputStreamWith[B](block: (SOutputStream) ⇒ B): B

    Permalink

    Opens this SURL, calls the block with opened SOutputStream, and closes it.

    Opens this SURL, calls the block with opened SOutputStream, and closes it.

    B

    return type of the block

    block

    called with SOutputStream

    returns

    the result of the invocation of block

  47. def openReader(): SReader

    Permalink

    Opens this SURL and returns a SReader bounded to it.

    Opens this SURL and returns a SReader bounded to it.

    returns

    SReader bounded to the URL

  48. def openReaderWith[B](block: (SReader) ⇒ B): B

    Permalink

    Opens this SURL, calls the block with opened SReader, and closes it.

    Opens this SURL, calls the block with opened SReader, and closes it.

    B

    return type of the block

    block

    called with SReader

    returns

    the result of the invocation of block

  49. def openWriter(): SWriter

    Permalink

    Opens this SURL and returns a SWriter bounded to it.

    Opens this SURL and returns a SWriter bounded to it.

    returns

    SWriter bounded to the URL

  50. def openWriterWith[B](block: (SWriter) ⇒ B): B

    Permalink

    Opens this SURL, calls the block with opened SWriter, and closes it.

    Opens this SURL, calls the block with opened SWriter, and closes it.

    B

    return type of the block

    block

    called with SWriter

    returns

    the result of the invocation of block

  51. def parent: String

    Permalink
  52. def parentFile: SFile

    Permalink
  53. def path: String

    Permalink
  54. def read(): String

    Permalink

    Read all texts from this file

    Read all texts from this file

    returns

    the content of this file

    Definition Classes
    SFileSSource
  55. def readLines(): Seq[String]

    Permalink

    Read lines from this file

    Read lines from this file

    returns

    the sequence of lines

  56. def readable: Boolean

    Permalink
  57. def readable_=(canReadable: Boolean): Boolean

    Permalink
  58. def renameTo(dest: SFile): Boolean

    Permalink
  59. def setExecutableByOwnerOnly(executable: Boolean, ownerOnly: Boolean): Boolean

    Permalink
  60. def setReadOnly(): Boolean

    Permalink
  61. def setReadable(readable: Boolean, ownerOnly: Boolean): Boolean

    Permalink
  62. def setWritableByOwnerOnly(canWritable: Boolean, ownerOnly: Boolean): Boolean

    Permalink
  63. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    SFile → AnyRef → Any
  65. def totalSpace: Long

    Permalink
  66. def usableSpace: Long

    Permalink
  67. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. def writable: Boolean

    Permalink
  71. def writable_=(canWritable: Boolean): Boolean

    Permalink
  72. def write(content: String): Unit

    Permalink

    Write all texts to this file

Inherited from SSource

Inherited from AnyRef

Inherited from Any

Ungrouped