|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SaveableEngine
Defines the saveTo(OutputStream)
method for engines returned by an engine compiler. This
allows you to save a compiled engine to persistent storage and then later re-instatiate it using
FormulaRuntime.loadEngine(java.io.InputStream)
.
The Engine
interface does not have save support so as not to
burden the run-time-only support with it.
This interface is an API only. Do not implement it yourself.
Method Summary | |
---|---|
void |
saveTo(java.io.OutputStream _stream)
Saves a compiled engine to a stream. |
Methods inherited from interface org.formulacompiler.runtime.Engine |
---|
getComputationFactory, getComputationFactory |
Method Detail |
---|
void saveTo(java.io.OutputStream _stream) throws java.io.IOException
FormulaRuntime.loadEngine(java.io.InputStream)
. The
engine is saved in the format of a compressed .jar file containing .class entries for all the
classes generated by AFC.
_stream
- to save the engine to.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |