| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for our shortcuts to conform to Creation date: (5/26/2003 5:41:34 PM)
| Method Summary | |
 String | 
getFileName()
This will be the file name of the shortcut.  | 
 String | 
getIconFile()
Returns the Icon file destination String EX: C:\Temp\PlanetJ.ico Creation date: (5/26/2003 3:02:41 PM)  | 
 int | 
getIconIndex()
The Icon index is the index of the icon you want to use This is only appropriate when you are using a .exe that contains many icons Creation date: (5/26/2003 3:02:41 PM)  | 
 String | 
getLeadingDirectories()
This will return a String of the leading directories before the FileName For instance if the file name is \\PlanetJ\\WOW\\WOW.url, this would return \\PlanetJ\\WOW\\ Creation date: (5/26/2003 5:47:48 PM)  | 
 String | 
getURL()
must be the file or URL in url format Example of URL = "http://www.planetjavainc.com/" Example of file = "file://c:/Temp/Runnable.exe" Creation date: (5/26/2003 3:02:41 PM)  | 
 String | 
toString()
This method will return the string that is the shortcut file's text.  | 
| Method Detail | 
public String getFileName()
**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 5:47:48 PM)
public String getIconFile()
public int getIconIndex()
public String getLeadingDirectories()
public String getURL()
public String toString()
toString in class Object
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||