org.formulacompiler.runtime
Interface EngineLoader


public interface EngineLoader

Interface for deserializing instances of the Engine class.

This interface is an API only. Do not implement it yourself.

Author:
peo

Nested Class Summary
static class EngineLoader.Config
          Configuration data for new instances of EngineLoader.
static interface EngineLoader.Factory
          Factory interface for ImplementationLocator.getInstance(Class).
 
Method Summary
 Engine loadEngineData(java.io.InputStream _stream)
          Loads an engine.
 

Method Detail

loadEngineData

Engine loadEngineData(java.io.InputStream _stream)
                      throws java.io.IOException,
                             EngineException
Loads an engine. It must have been saved using SaveableEngine.saveTo(java.io.OutputStream).

Parameters:
_stream - is an input stream which must support the InputStream.mark(int) operation.
Returns:
The loaded engine.
Throws:
java.io.IOException
EngineException