jitong wang wrote:

Hello, Berrin
yes! this is the source code:
public void dispose() {
    try{
         File f = new File("E:\\file.txt");
        PrintWriter out = new PrintWriter(new FileWriter(f));
         out.println("The server is shutting down!");
         out.flush();
         out.close();
     }catch (IOException e){}

}


I think what Berin was getting at was whether you declared your generator to implement the Disposable interface.


Regards,

Tony



Reply via email to