zork2Class
Class OrdealFileReader

java.lang.Object
  |
  +--zork2Class.OrdealFileReader

public class OrdealFileReader
extends java.lang.Object

This class permit to open the file "Item.zit". This file is the file which contains the configuration of the different item, you can use in the current Level. la balise show the begin of the project la balise show the begin of an ordeal type Fight la balise show the begin of an ordeal type Skill la balise show the begin of an ordeal type Question la balise show the begin of an ordeal type QCM

Version:
1.0, 28/03/03
Author:
IUT de Vannes, Fabien BOYERE, Michel de VERDELHAN

Constructor Summary
OrdealFileReader(java.lang.String str, java.util.Hashtable itemLoad)
           
 
Method Summary
 void addOrdeal(Ordeal ordeal)
          Method addItem.
 java.util.Hashtable getLesOrdeals()
          Method getLesItems.
 boolean readOrdealFile()
          This method is a methode which permit to write a new file item.zit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrdealFileReader

public OrdealFileReader(java.lang.String str,
                        java.util.Hashtable itemLoad)
Method Detail

readOrdealFile

public boolean readOrdealFile()
This method is a methode which permit to write a new file item.zit.


getLesOrdeals

public java.util.Hashtable getLesOrdeals()
Method getLesItems.

Returns:
Vector

addOrdeal

public void addOrdeal(Ordeal ordeal)
Method addItem. This method permit to add an item the private vector lesItems.