Trait/Object

com.eharmony.aloha.io.vfs

Vfs

Related Docs: object Vfs | package vfs

Permalink

sealed trait Vfs extends AnyRef

Self Type
Vfs
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Vfs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def delete(): Unit

    Permalink
  2. abstract def descriptor: String

    Permalink
  3. abstract def exists(): Boolean

    Permalink
  4. abstract def inputStream: InputStream

    Permalink
  5. abstract def isLocal: Boolean

    Permalink
  6. abstract def outputStream(append: Boolean = false): OutputStream

    Permalink
  7. abstract def replicatedToLocal(): File

    Permalink

    If the content DOES NOT exists on the local disk, copy to local disk and return the file descriptor wrapped in a Vfs.

    If the content DOES NOT exists on the local disk, copy to local disk and return the file descriptor wrapped in a Vfs. If the content exists locally, do not copy but

  8. abstract def vfsType: VfsType

    Permalink

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. def asByteArray(decoder: (InputStream) ⇒ InputStream): Array[Byte]

    Permalink
  5. def asByteArray(): Array[Byte]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def asString(decoder: (InputStream) ⇒ InputStream): String

    Permalink

    Get the file content in the form of a String after applying a transformation to the original data.

    Get the file content in the form of a String after applying a transformation to the original data. This is especially useful when the data is base64 encoded or gzipped or something. For instance, if data was base64 encoded, then gzipped, we can do the following:

    import java.util.zip.GZIPInputStream
    import org.apache.commons.codec.binary.Base64InputStream
    
    val content = getString(is => new Base64InputStream(new GZIPInputStream(is)))
    decoder

    Provides a means of decode the file contents.

  8. def asString(): String

    Permalink
  9. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromByteArray(a: Array[Byte]): Unit

    Permalink
  14. def fromInputStream[A](f: (InputStream) ⇒ A): A

    Permalink
    Attributes
    protected[com.eharmony.aloha.io.vfs]
  15. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def writeToOutStr(f: (OutputStream) ⇒ Unit): Unit

    Permalink
    Attributes
    protected[com.eharmony.aloha.io.vfs]

Inherited from AnyRef

Inherited from Any

Ungrouped