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

java.lang.Object
  extended by com.github.axet.desktop.Desktop
      extended by com.github.axet.desktop.os.win.Windows

public class Windows
extends Desktop

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 com.github.axet.desktop.Desktop
desktop, main
 
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 class Desktop

getDocuments

public File getDocuments()
Specified by:
getDocuments in class Desktop

getDownloads

public File getDownloads()
Specified by:
getDownloads in class Desktop

getDownloadsVista

public File getDownloadsVista()
Returns:

getAppData

public File getAppData()
Specified by:
getAppData in class Desktop

getDesktop

public File getDesktop()
Specified by:
getDesktop in class Desktop

path

public File path(int nFolder)


Copyright © 2012. All Rights Reserved.