com.eharmony.aloha.io

StringReadable

object StringReadable extends ReadableByString[String] with GZippedReadable[String] with LocationLoggingReadable[String] with Logging

Provides a very easy way to read data input a string.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringReadable
  2. Logging
  3. LocationLoggingReadable
  4. GZippedReadable
  5. ReadableByString
  6. FileReadableByInputStream
  7. AlohaReadable
  8. NonFileReadable
  9. FileReadable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a debug logging message, with an exception.

    Issue a debug logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  9. final def debug(msg: ⇒ Any): Unit

    Issue a debug logging message.

    Issue a debug logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. final def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a error logging message, with an exception.

    Issue a error logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  13. final def error(msg: ⇒ Any): Unit

    Issue a error logging message.

    Issue a error logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromClasspathResource(r: String): String

    Read from a classpath resource.

    Read from a classpath resource. This uses fromVfs2 under the hood.

    r

    a classpath resource path.

    returns

    Definition Classes
    FileReadableByInputStreamFileReadable
  16. def fromFile(f: File): String

    Read from a file.

    Read from a file. Logs the file.

    f

    a file to read. The file's InputStream is automatically closed.

    returns

    the result

    Definition Classes
    LocationLoggingReadableFileReadableByInputStreamFileReadable
  17. final def fromInputStream(is: InputStream): String

    Read from an InputStream.

    Read from an InputStream.

    is

    an InputStream to read. The InputStream is automatically closed.

    returns

    the result

    Definition Classes
    ReadableByStringFileReadableByInputStreamNonFileReadable
  18. final def fromReader(r: Reader): String

    Read from a Reader.

    Read from a Reader. Whoever extends this trait is responsible for closing the Reader.

    r

    a Reader containing data to be read.

    returns

    the result

    Definition Classes
    ReadableByStringNonFileReadable
  19. def fromResource(r: String): String

    Read from a resource.

    Read from a resource. This uses fromVfs2 under the hood.

    r

    a resource path.

    returns

    Definition Classes
    FileReadableByInputStreamFileReadable
  20. def fromString(s: String): String

    Read from a String.

    Read from a String.

    s

    a String to read.

    returns

    the result

    Definition Classes
    StringReadableNonFileReadable
  21. def fromUrl(u: URL): String

    Read from a URL.

    Read from a URL. Logs the URL.

    u

    a URL to read. The URL's InputStream is automatically closed.

    returns

    the result

    Definition Classes
    LocationLoggingReadableFileReadableByInputStreamFileReadable
  22. def fromVfs1(foVfs1: FileObject): String

    Read from an Apache VFS v1 FileObject.

    Read from an Apache VFS v1 FileObject. Logs the file object location.

    foVfs1

    an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.

    returns

    the result

    Definition Classes
    LocationLoggingReadableFileReadableByInputStreamFileReadable
  23. def fromVfs2(foVfs2: FileObject): String

    Read from an Apache VFS v1 FileObject.

    Read from an Apache VFS v1 FileObject. Logs the file object location.

    foVfs2

    an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.

    returns

    the result

    Definition Classes
    LocationLoggingReadableFileReadableByInputStreamFileReadable
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def gz: FileReadableByInputStream[String] with MultipleFileReadable[String]

    Definition Classes
    GZippedReadable
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a info logging message, with an exception.

    Issue a info logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  28. final def info(msg: ⇒ Any): Unit

    Issue a info logging message.

    Issue a info logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  29. val inputCharset: String

    The character set that is used to decode the input streams in fromInputStream in the derived classes.

    The character set that is used to decode the input streams in fromInputStream in the derived classes.

    Attributes
    protected
    Definition Classes
    ReadableByString
  30. final def isDebugEnabled: Boolean

    Determine whether debug logging is enabled.

    Determine whether debug logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  31. final def isErrorEnabled: Boolean

    Determine whether error logging is enabled.

    Determine whether error logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  32. final def isInfoEnabled: Boolean

    Determine whether info logging is enabled.

    Determine whether info logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. final def isTraceEnabled: Boolean

    Determine whether trace logging is enabled.

    Determine whether trace logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  35. final def isWarnEnabled: Boolean

    Determine whether warn logging is enabled.

    Determine whether warn logging is enabled.

    Attributes
    protected[this]
    Definition Classes
    Logging
  36. final lazy val logger: Logger

    The logger is a @transient lazy val to enable proper working with Spark.

    The logger is a @transient lazy val to enable proper working with Spark. The logger will not be serialized with the rest of the class with which this trait is mixed-in.

    Attributes
    protected[this]
    Definition Classes
    Logging
  37. def loggerInitName(): String

    The name with which the logger is initialized.

    The name with which the logger is initialized. This can be overridden in a derived class.

    returns

    Attributes
    protected
    Definition Classes
    Logging
  38. final def loggerName: String

    Get the name associated with this logger.

    Get the name associated with this logger.

    returns

    the name.

    Attributes
    protected[this]
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. final def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a trace logging message, with an exception.

    Issue a trace logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  45. final def trace(msg: ⇒ Any): Unit

    Issue a trace logging message.

    Issue a trace logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Issue a warn logging message, with an exception.

    Issue a warn logging message, with an exception.

    msg

    the message object. toString() is called to convert it to a loggable string.

    t

    the exception to include with the logged message.

    Attributes
    protected[this]
    Definition Classes
    Logging
  50. final def warn(msg: ⇒ Any): Unit

    Issue a warn logging message.

    Issue a warn logging message.

    msg

    the message object. toString() is called to convert it to a loggable string.

    Attributes
    protected[this]
    Definition Classes
    Logging

Inherited from Logging

Inherited from LocationLoggingReadable[String]

Inherited from GZippedReadable[String]

Inherited from ReadableByString[String]

Inherited from FileReadableByInputStream[String]

Inherited from AlohaReadable[String]

Inherited from NonFileReadable[String]

Inherited from FileReadable[String]

Inherited from AnyRef

Inherited from Any

Ungrouped