|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnars.io.ExperienceIO
public class ExperienceIO
To read and write experience as Task streams
| Field Summary | |
|---|---|
private java.io.BufferedReader |
inExp
Input experience from a file |
private InputWindow |
inputWindow
Input experience from a window |
private java.io.PrintWriter |
outExp
Output experience into a file |
| Constructor Summary | |
|---|---|
ExperienceIO()
Default constructor |
|
| Method Summary | |
|---|---|
void |
closeLoadFile()
Close an input experience file |
void |
closeSaveFile()
Close an output experience file |
long |
loadLine()
Read a line from input, and send running instruction to Memory |
void |
openLoadFile()
Open an input experience file |
void |
openSaveFile()
Open an output experience file |
void |
saveLine(java.lang.String line)
Write a line into the output experience file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private InputWindow inputWindow
private java.io.BufferedReader inExp
private java.io.PrintWriter outExp
| Constructor Detail |
|---|
public ExperienceIO()
| Method Detail |
|---|
public void openLoadFile()
public void openSaveFile()
public long loadLine()
public void saveLine(java.lang.String line)
line - The output linepublic void closeLoadFile()
public void closeSaveFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||