14 lines
442 B
Java
14 lines
442 B
Java
|
import java.util.Scanner;
|
||
|
import java.io.File;
|
||
|
|
||
|
public class Test{
|
||
|
public static void main(String [] args) throws Exception{
|
||
|
Scanner scLibri=new Scanner(new File("Libri.dat"));
|
||
|
Scanner scMult=new Scanner(new File("OpereMult.dat"));
|
||
|
Scanner scStampe=new Scanner(new File("Stampe.dat"));
|
||
|
|
||
|
Archivio arch=new Archivio(scMult, scLibri, scStampe);
|
||
|
|
||
|
arch.filtroAutore("Autore1").print(System.out);
|
||
|
}
|
||
|
}
|