Forse con una cosa tipo:

codice:
public class Studente {
  public Studente(String nome, int media)throws Exception {
   this.nome = nome;
   this.media = media;
  }
  public static Studente leggi(BufferedReader br)throws Exception {
   String dato;
   int voto;
   Studente stud = null;
   if(((dato = br.readLine()) != null) && (voto = Integer.parseInt(br.readLine()) != null)){
      
      System.out.println(dato);
      System.out.println(voto);
      stud = new Studente(dato,voto);
  }
  return stud;   
 }
private String nome;
private int media;
}