Class/Object

com.github.mwegrz.scalautil.resource.sync

FileSystem

Related Docs: object FileSystem | package sync

Permalink

class FileSystem extends Shutdownable

Linear Supertypes
Shutdownable, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileSystem
  2. Shutdownable
  3. Runnable
  4. AnyRef
  5. 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def basePath: String

    Permalink
  6. val baseUri: URI

    Permalink
  7. def changeDirectory(path: String): FileSystem

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createDirectory(path: String): Unit

    Permalink

    Creates this directory, if it does not exist.

    Creates this directory, if it does not exist. Also creates any ancestor directories which do not exist. This method does nothing if the directory already exists.

    path

    directory path

    Annotations
    @throws( ... )
    Exceptions thrown

    FileSystemException If the directoryalready exists with the wrong type, or the parent directory is read-only, or on error creating this folder or one of its ancestors.

  10. def createFile(path: String): Unit

    Permalink

    Creates this file, if it does not exist.

    Creates this file, if it does not exist. Also creates any ancestor folders which do not exist. This method does nothing if the file already exists and is a file.

    path

    file path

    Annotations
    @throws( ... )
    Exceptions thrown

    FileSystemException If the file already exists with the wrong type, or the parent folder is read-only, or on error creating this file or one of its ancestors.

  11. def delete(path: String): Boolean

    Permalink

    Deletes this file.

    Deletes this file. Does nothing if this file does not exist of if it is a directory that has children. Does not delete any descendents of this file.

    returns

    true if this object has been deleted

    Annotations
    @throws( ... )
    Exceptions thrown

    FileSystemException If this file is a non-empty directory, or if this file is read-only, or on error deleting this file.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def exists(path: String): Boolean

    Permalink
  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def info(path: String): FileInfo

    Permalink
  19. def inputStream(path: String): InputStream

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def lastModified(path: String): Instant

    Permalink
  22. def list(path: String, filter: Option[(String) ⇒ Boolean] = None, recursive: Boolean = true): List[FileInfo]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def outputStream(path: String): OutputStream

    Permalink
  27. def readBytes(path: String)(implicit compression: Option[Compression] = None, bufferSize: BufferSize = DefaultBufferSize): Array[Byte]

    Permalink
  28. def readLines(path: String)(implicit encoding: Encoding = DefaultEncoding, compression: Option[Compression] = None, bufferSize: BufferSize = DefaultBufferSize): List[String]

    Permalink
  29. def readString(path: String)(implicit encoding: Encoding = DefaultEncoding, compression: Option[Compression] = None, bufferSize: BufferSize = DefaultBufferSize): String

    Permalink
  30. def run(): Unit

    Permalink
    Definition Classes
    Shutdownable → Runnable
  31. def setLastModified(path: String, instant: Instant): Unit

    Permalink
  32. def shutdown(): Unit

    Permalink
    Definition Classes
    FileSystem → Shutdownable
  33. def size(path: String): Long

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def withInputStream[A](path: String)(f: (InputStream) ⇒ A)(implicit compression: Option[Compression] = None): A

    Permalink
  40. def withOutputStream[A](path: String)(f: (OutputStream) ⇒ A)(implicit compression: Option[Compression] = None): A

    Permalink
  41. def writeBytes(path: String, bytes: Array[Byte])(implicit compression: Option[Compression] = None): Unit

    Permalink
  42. def writeLines(path: String, lines: List[String])(implicit compression: Option[Compression] = None): Unit

    Permalink
  43. def writeString(path: String, string: String)(implicit compression: Option[Compression] = None): Unit

    Permalink

Inherited from Shutdownable

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped