Grazie ma detta cosi non capisco come e dove devo utilizzarla
Ripeto se riuscite a farmi un esempio anche perchè mi è solo venuto in mente questo
codice:
public void inserimentoArticoli()throws MyException{
try
{
BufferedReader filebuf = new BufferedReader(new FileReader("aricolo.txt"));
int i;
String nextstr;
nextstr=filebuf.readLine();
StringTokenizer st = new StringTokenizer(nextstr);
}catch (IOException e){throw new MyException("Errore di apertura file");
}
ma non riesco andare avanti.....cioè non capisco come passare il mio token all'oggetto