public interface Compilable
Compilable interface specifies a general way in
which an object may be compiled to an object output. The class of
the object read from the corresponding object input is determined
by the implementation and not usually the same as the compilable's
class.
The class AbstractExternalizable provides a helper class
for implementing compilable objects. It also contains the static
utility method AbstractExternalizable.compile(Compilable),
which provides an in-memory compilation of an object, as well as
static methods to read and write from files.
| Modifier and Type | Method and Description |
|---|---|
void |
compileTo(ObjectOutput objOut)
Compile this object to the specified object output.
|
void compileTo(ObjectOutput objOut) throws IOException
objOut - Object output to which this object is compiled.IOException - If there is an I/O error compiling the
object.Copyright © 2016 Alias-i, Inc.. All rights reserved.