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

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


Constructor Summary
Windows()
           
 
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

Windows

public Windows()
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 © 2012. All Rights Reserved.