case class BundleSerializer[Context](context: Context, file: BundleFile)(implicit hr: HasBundleRegistry) extends Closeable with Product with Serializable
Class for serializing/deserializing Bundle.ML ml.combust.bundle.dsl.Bundle objects.
- Context
context type for implementation
- context
context for implementation
- file
bundle file for serialization
- hr
bundle registry for custom types and ops
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BundleSerializer
- Serializable
- Serializable
- Product
- Equals
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
BundleSerializer(context: Context, file: BundleFile)(implicit hr: HasBundleRegistry)
- context
context for implementation
- file
bundle file for serialization
- hr
bundle registry for custom types and ops
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- BundleSerializer → Closeable → AutoCloseable
- val context: Context
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val file: BundleFile
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
read[Transformer <: AnyRef](): Try[Bundle[Transformer]]
Read a bundle from the path.
Read a bundle from the path.
- returns
deserialized bundle
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
write[Transformer <: AnyRef](bundle: Bundle[Transformer]): Try[Bundle[Transformer]]
Write a bundle to the path.
Write a bundle to the path.
- bundle
bundle to write
- returns
try of the bundle transformer