下面的这个文本文件是什么是 Person 对象的集合...该 person 对象具有姓名和电话号码
jill nim # 9090092323
阿拉丁 # 4243535345
Defy 鸭 # 4354656575
我正在尝试恢复此文件以供程序使用,但我不知道如何拆分这些字符串,以便我可以传递给 person 实例
Person s = new Person( String Name, String phonenumber);
我如何通过这些姓名和号码来创建新的人实例。
   public void restore(String fileName) {
       // TODO : implement this method.
       // restore bst from a file, if file exists.
       // do nothing, otherwise.
       File fichier = new File(fileName);
            if (fichier.exists())
                try {
                    Scanner n = new Scanner(new File(fileName));
                        while(n.hasNextLine()){     
                            Person s = new Person( n.nextLine(), n.next(pattern));
                        }       
                    } catch (FileNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                    }