|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.loader.SerialLoader
public class SerialLoader
This class writes and reads format files.
Format files contains the information needed to continue processing some input. This means that essentially the context is stored.
The format file contains certain information in a fixed sequence:
| Constructor Summary | |
|---|---|
SerialLoader()
Creates a new object. |
|
| Method Summary | |
|---|---|
Context |
load(java.io.InputStream stream)
Load the interpreter context from an input stream. |
void |
save(java.io.OutputStream stream,
java.lang.String jobname,
Context context)
Write the format information to an output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerialLoader()
| Method Detail |
|---|
public Context load(java.io.InputStream stream)
throws java.io.IOException,
LoaderException
stream - the input stream to read the context from
LoaderException - in case of an format error during the read
java.io.IOException - in case of an IO error
public void save(java.io.OutputStream stream,
java.lang.String jobname,
Context context)
throws java.io.IOException
stream - the output stream to write the context tojobname - the name of the job currently processedcontext - the interpreter context to store
java.io.IOException - in case of an IO error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||