zork2Class
Class ItemFileReader

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

public class ItemFileReader
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 item

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

Constructor Summary
ItemFileReader(java.lang.String str)
           
 
Method Summary
 void addItem(Item itemAjout)
          Method addItem.
 java.util.Hashtable getLesItems()
          Method getLesItems.
 boolean readItemFile()
          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

ItemFileReader

public ItemFileReader(java.lang.String str)
Method Detail

readItemFile

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


getLesItems

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

Returns:
Vector

addItem

public void addItem(Item itemAjout)
Method addItem. This method permit to add an item the private vector lesItems.