edu.ou.pacman.util
Class Output

java.lang.Object
  extended by edu.ou.pacman.util.Output

public final class Output
extends java.lang.Object


Method Summary
static void writeTextFile(java.lang.String file, java.util.ArrayList<java.lang.String> contents)
          Write a list of strings to a given file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeTextFile

public static void writeTextFile(java.lang.String file,
                                 java.util.ArrayList<java.lang.String> contents)
Write a list of strings to a given file. Assumes the file is valid and does nothing to create directories if needed.

Parameters:
file - - name of the file to write to
contents - - information to write to the file