public class XDesktopEntry
extends java.lang.Object
JNLPFile
 . This entry can be used to install desktop shortcuts. See xdg-desktop-icon
 (1) and http://standards.freedesktop.org/desktop-entry-spec/latest/ for more
 information| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String[] | BROWSERS | 
| static java.lang.String | FAVICON | 
| static java.lang.String | JAVA_ICON_NAME | 
| Constructor and Description | 
|---|
| XDesktopEntry(JNLPFile file)Create a XDesktopEntry for the given JNLP file | 
| Modifier and Type | Method and Description | 
|---|---|
| void | createDesktopShortcuts(net.sourceforge.jnlp.security.dialogs.AccessWarningPaneComplexReturn.ShortcutResult menu,
                      net.sourceforge.jnlp.security.dialogs.AccessWarningPaneComplexReturn.ShortcutResult desktop,
                      boolean isSigned)Create a desktop shortcut for this desktop entry | 
| static java.lang.String | findFreedesktopOrgDesktopPathCatch() | 
| static java.lang.String | getBrowserBin() | 
| java.io.Reader | getContentsAsReader(boolean menu,
                   net.sourceforge.jnlp.security.dialogs.AccessWarningPaneComplexReturn.ShortcutResult info,
                   boolean isSigned)Returns the contents of the  XDesktopEntrythrough theReaderinterface. | 
| java.io.File | getGeneratedJnlpFileName() | 
| int | getIconSize() | 
| java.io.File | getLinuxDesktopIconFile() | 
| java.io.File | getLinuxMenuIconFile() | 
| java.io.File | getShortcutTmpFile() | 
| void | refreshExistingShortcuts(boolean desktop,
                        boolean menu) | 
| void | setIconSize(int size)Set the icon size to use for the desktop shortcut | 
public static final java.lang.String JAVA_ICON_NAME
public static final java.lang.String[] BROWSERS
public static final java.lang.String FAVICON
public java.io.Reader getContentsAsReader(boolean menu,
                                 net.sourceforge.jnlp.security.dialogs.AccessWarningPaneComplexReturn.ShortcutResult info,
                                 boolean isSigned)
XDesktopEntry through the
 Reader interface.menu - whether to create this icon to menuinfo - result of user's interferenceisSigned - whether the app is signedpublic static java.lang.String getBrowserBin()
public int getIconSize()
public java.io.File getShortcutTmpFile()
public void setIconSize(int size)
size - the size (in pixels) of the icon to use. Commonly used sizes
        are of 16, 22, 32, 48, 64 and 128public void createDesktopShortcuts(net.sourceforge.jnlp.security.dialogs.AccessWarningPaneComplexReturn.ShortcutResult menu,
                          net.sourceforge.jnlp.security.dialogs.AccessWarningPaneComplexReturn.ShortcutResult desktop,
                          boolean isSigned)
menu - how to create in menudesktop - how to create on desktopisSigned - if it is signedpublic void refreshExistingShortcuts(boolean desktop,
                            boolean menu)
public java.io.File getGeneratedJnlpFileName()
public java.io.File getLinuxDesktopIconFile()
public java.io.File getLinuxMenuIconFile()
public static java.lang.String findFreedesktopOrgDesktopPathCatch()