net.kolls.railworld.io
Class TRNWriter

java.lang.Object
  extended by net.kolls.railworld.io.TRNWriter

public class TRNWriter
extends java.lang.Object

Writes Yard Duty TRN files

Author:
Steve Kollmansberger

Constructor Summary
TRNWriter()
           
 
Method Summary
static void write(java.io.File f, Train t)
          Create a Yard Duty train file from a given train.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRNWriter

public TRNWriter()
Method Detail

write

public static void write(java.io.File f,
                         Train t)
                  throws java.io.IOException
Create a Yard Duty train file from a given train.

Parameters:
f - The file to write to
t - The train to write.
Throws:
java.io.IOException