com.github.axet.desktop.os.win
Class WindowsFolders

java.lang.Object
  extended by 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


Constructor Summary
WindowsFolders()
           
 
Method Summary
 File getAppData()
           
 File getDesktop()
           
 File getDocuments()
           
 File getDownloads()
           
 File getDownloadsVista()
           
 File getHome()
           
 File path(int nFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsFolders

public WindowsFolders()
Method Detail

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.