|
kiyut.citra 3.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkiyut.citra.util.IOUtilities
public class IOUtilities
Collection of I/O Utilities
| Method Summary | |
|---|---|
static JFileChooser |
getFileChooser()
Return JFileChooser that remember the last opened directory based on System.getProperty("user.dir") value |
static void |
setUserDir(File file)
Convenience methods to set user's current working directory aka System.getProperty("user.dir"). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JFileChooser getFileChooser()
System.getProperty("user.dir") value
JFileChooserpublic static void setUserDir(File file)
System.getProperty("user.dir").
If the param is not a directory it will look for the contained directory,
if null set as FileSystemView.getFileSystemView().getDefaultDirectory(),
otherwise just set as it is.
file - File
|
kiyut.citra 3.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||