Class

com.fsist.safepickle

ConvertToStringPickler

Related Doc: package safepickle

Permalink

abstract class ConvertToStringPickler[T] extends ConvertPickler[T, String]

A refining of ConvertPickler for converting types to Strings using their toString method.

Linear Supertypes
ConvertPickler[T, String], Pickler[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConvertToStringPickler
  2. ConvertPickler
  3. Pickler
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConvertToStringPickler()(implicit ttag: scala.reflect.api.JavaUniverse.TypeTag[T])

    Permalink

Abstract Value Members

  1. abstract def convertFrom(other: String): T

    Permalink
    Definition Classes
    ConvertPickler

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convertTo(t: T): String

    Permalink
    Definition Classes
    ConvertToStringPicklerConvertPickler
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. implicit val otherPickler: Pickler[String]

    Permalink
    Definition Classes
    ConvertPickler
  17. def pickle(t: T, writer: PickleWriter[_], emitObjectStart: Boolean = true): Unit

    Permalink

    Should write the value t to the writer.

    Should write the value t to the writer. If the type T contains sub-types for which we have sub-picklers, they should be used by calling writer.write[T](pickler) for those types.

    WARNING: do not call this method directly; use PickleWriter.write with this pickler instead.

    emitObjectStart

    If writing an object, and this argument is true, the pickler will write an ObjectStart token. If false, it will assume an object scope has already been opened, and start emitting attributes.

    Definition Classes
    ConvertPicklerPickler
  18. val schema: Schema

    Permalink

    A schema describing the pickled form generated by this pickler.

    A schema describing the pickled form generated by this pickler.

    Definition Classes
    ConvertPicklerPickler
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. implicit val ttag: scala.reflect.api.JavaUniverse.TypeTag[T]

    Permalink

    A type tag for T.

    A type tag for T. This is used only for implementing typeName; runtime reflection is never used.

    Definition Classes
    ConvertPicklerPickler
  22. lazy val typeName: String

    Permalink

    The full name of the type T.

    The full name of the type T.

    Definition Classes
    Pickler
  23. def unpickle(reader: PickleReader, expectObjectStart: Boolean = true): T

    Permalink

    Should read and parse the reader's current token without advancing it.

    Should read and parse the reader's current token without advancing it. If the type T contains sub-types for which we have sub-picklers, they should be used by calling reader.read[T](pickler) for those types.

    If reading a complex value (object, array) or a series of values, consisting of multiple Reader tokens, should assume the current token when called is the first token to be read, and should leave the last token that was read and processed as the current token.

    WARNING: do not call this method directly; use PickleReader.read with this pickler instead.

    expectObjectStart

    if reading an object, and this argument is true, expect the current reader token to be the object start. If it is false, expect the current token to be the first attribute name inside the object. If not reading an object, ignore this argument.

    Definition Classes
    ConvertPicklerPickler
    Exceptions thrown

    UnpicklingException if the reader provides unexpected input

  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ConvertPickler[T, String]

Inherited from Pickler[T]

Inherited from AnyRef

Inherited from Any

Ungrouped