Thursday, August 11, 2011

Java System Properties

http://download.oracle.com/javase/tutorial/essential/environment/sysprop.html

Need to get the java file type identifier window running under Linux.

Written currently for DOS/Window's separators.

Also used the "user.dir" property to see where the application was running in Eclipse.

String separator =  System.getProperty("file.separator");


No comments:

Post a Comment