com.github.axet.desktop.os.win
Class WindowsFolders
java.lang.Object
com.github.axet.desktop.os.win.WindowsFolders
- All Implemented Interfaces:
- DesktopFolders
public class WindowsFolders
- 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 |
WindowsFolders
public WindowsFolders()
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 © 2013. All Rights Reserved.