archive.system
Class AgenziaSystem

java.lang.Object
  extended by archive.system.AgenziaSystem

public class AgenziaSystem
extends java.lang.Object

Una classe che contiene l'archivio e crea l'oggetto FileSystem che si occuperà di leggere e scrivere dal file.


Field Summary
static Archivio archivio
           
static Day day
           
 
Constructor Summary
AgenziaSystem(java.lang.String path)
           
 
Method Summary
 void save()
          Metodo che salva sul file l'archivio al termine della sessione
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archivio

public static Archivio archivio

day

public static Day day
Constructor Detail

AgenziaSystem

public AgenziaSystem(java.lang.String path)
              throws java.io.FileNotFoundException,
                     java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

save

public void save()
          throws java.io.FileNotFoundException
Metodo che salva sul file l'archivio al termine della sessione

Throws:
java.io.FileNotFoundException - Viene lanciato nel momento in cuifilePath e' errato