cmu.tawc.data
Class DictionaryFileStorage

java.lang.Object
  extended by cmu.tawc.data.DictionaryFileStorage

public class DictionaryFileStorage
extends java.lang.Object


Nested Class Summary
static class DictionaryFileStorage.FileFormatException
           
 
Constructor Summary
DictionaryFileStorage()
           
 
Method Summary
static Dictionary getDictionaryFromUser()
           
static Dictionary getFromFile(java.io.File file)
           
static Dictionary getFromFileType1(java.io.File file)
          File must start and end with a %.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryFileStorage

public DictionaryFileStorage()
Method Detail

getFromFileType1

public static Dictionary getFromFileType1(java.io.File file)
                                   throws DictionaryFileStorage.FileFormatException
File must start and end with a %.

Parameters:
file -
Returns:
Throws:
DictionaryFileStorage.FileFormatException

getFromFile

public static Dictionary getFromFile(java.io.File file)
                              throws DictionaryFileStorage.FileFormatException
Throws:
DictionaryFileStorage.FileFormatException

getDictionaryFromUser

public static final Dictionary getDictionaryFromUser()

main

public static final void main(java.lang.String[] args)