|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.shortcuts.ShortcutGenerator
This class is resposible for generating files in your start menu, desktop, or anywhere else you wish. Creation date: (5/26/2003 3:30:49 PM)
Field Summary | |
static java.lang.String |
ADMINISTRATOR
|
static java.lang.String |
ALL_USERS
|
static java.lang.String |
DEFAULT_USER
|
static java.lang.String |
DESKTOP
|
static java.lang.String |
GUEST
|
static java.lang.String |
START_MENU
|
Method Summary | |
static boolean |
generateDesktopShortcut(IShortcut pShortcut)
This method will generate a shortcut on your desktop. |
static boolean |
generateShortcut(IShortcut pShortcut)
This method will generate a shortcut on your file system. |
static boolean |
generateStartMenuShortcut(IShortcut pShortcut)
This method will generate a shortcut on your start menu. |
static java.lang.String |
getCurrentUserHome()
|
static java.lang.String |
getCurrentUserName()
|
static java.lang.String |
getDesktopRootDirectory()
Returns a String that points to this systems desktop directory Creation date: (5/26/2003 3:34:20 PM) |
static java.lang.String |
getDesktopRootDirectory(java.lang.String usersFolder)
Returns a String that points to this systems desktop directory Creation date: (5/26/2003 3:34:20 PM) |
static java.lang.String |
getStartMenuRootDirectory()
Returns a String that points to this systems start menu directory Creation date: (5/26/2003 3:34:20 PM) |
static java.lang.String |
getStartMenuRootDirectory(java.lang.String usersFolder)
Returns a String that points to this systems start menu directory Creation date: (5/26/2003 3:34:20 PM) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DESKTOP
public static final java.lang.String START_MENU
public static final java.lang.String ALL_USERS
public static final java.lang.String DEFAULT_USER
public static final java.lang.String ADMINISTRATOR
public static final java.lang.String GUEST
Method Detail |
public static boolean generateDesktopShortcut(IShortcut pShortcut) throws CMException
**NOTE** If you want a file to go in Desktop\\XXFolder\\XXFile.url, You have to give the IShortcut a File name of XXFolder\\XXFile.url, Creation date: (5/26/2003 6:13:22 PM)
CMException
public static boolean generateShortcut(IShortcut pShortcut) throws CMException
Creation date: (5/26/2003 6:13:22 PM)
CMException
public static boolean generateStartMenuShortcut(IShortcut pShortcut) throws CMException
**NOTE** If you want a file to go in Start menu\\Programs\\XXFolder\\XXFile.url, You have to give the IShortcut a File name of \\Programs\\XXFolder\\XXFile.url, Creation date: (5/26/2003 6:13:22 PM)
CMException
public static java.lang.String getCurrentUserHome()
Creation date: (5/28/2003 9:47:20 AM)
public static java.lang.String getCurrentUserName()
Creation date: (5/28/2003 9:47:20 AM)
public static java.lang.String getDesktopRootDirectory()
public static java.lang.String getDesktopRootDirectory(java.lang.String usersFolder)
returns the folder of the current user
public static java.lang.String getStartMenuRootDirectory()
public static java.lang.String getStartMenuRootDirectory(java.lang.String usersFolder)
returns the folder of the current user
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |