Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: RE: pro_java_server digest: March 22, 2001


Message #1 by Harley Rana <harleyrana@t...> on Mon, 26 Mar 2001 10:56:25 +1000
Hi, about checking if a file exists use
 File file = new File("some.dat");
if(file.exists()){
//
}
Checking a directory is the same
 File file = new File("c:/windows"); 
not sure about solaris.

hope that helps.
Harley.


  Return to Index