|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kolls.railworld.io.YardReader
public class YardReader
Reads Yard Duty (YRD) files. Note that there is not an exact correspondence between Yard Duty and Rail World, so some approximation is done. Reads file format version 1.7
| Constructor Summary | |
|---|---|
YardReader()
|
|
| Method Summary | |
|---|---|
static RailSegment[] |
read(java.io.File f,
MetaData toBeFilled)
Reads a valid Yard Duty file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YardReader()
| Method Detail |
|---|
public static RailSegment[] read(java.io.File f,
MetaData toBeFilled)
throws java.io.IOException
f - File to read from.toBeFilled - MetaData to fill.
java.io.IOException - If the file can't be opened.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||