com.github.axet.desktop.os.win
Class Windows
java.lang.Object
com.github.axet.desktop.os.win.Windows
- All Implemented Interfaces:
- DesktopFolders
public class Windows
- extends Object
- implements DesktopFolders
Windows helper.
http://stackoverflow.com/questions/585534/what-is-the-best-way-to-find-the-
users-home-directory-in-java
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Windows
public Windows()
getHome
public File getHome()
- Specified by:
getHome in interface DesktopFolders
getDocuments
public File getDocuments()
- Specified by:
getDocuments in interface DesktopFolders
getDownloads
public File getDownloads()
- Specified by:
getDownloads in interface DesktopFolders
getDownloadsVista
public File getDownloadsVista()
- Returns:
getAppData
public File getAppData()
- Specified by:
getAppData in interface DesktopFolders
getDesktop
public File getDesktop()
- Specified by:
getDesktop in interface DesktopFolders
path
public File path(int nFolder)
Copyright © 2012. All Rights Reserved.