WindowsDesktopEntry (IcedTea-Web: NetX )
Keywords: net.sourceforge.jnlp.util.WindowsDesktopEntry class
Date: 2021-03-21

net.sourceforge.jnlp.util

## Class WindowsDesktopEntry

- java.lang.Object
- - net.sourceforge.jnlp.util.WindowsDesktopEntry

- All Implemented Interfaces:
    GenericDesktopEntry

      public class WindowsDesktopEntry
      extends java.lang.Object
      implements GenericDesktopEntry

  Based on https://github.com/DmitriiShamrikov/mslinks

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WindowsDesktopEntry(JNLPFile file)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `createDesktopShortcuts(net.sourceforge.jnlp.security.dialogresults.AccessWarningPaneComplexReturn.ShortcutResult menu, net.sourceforge.jnlp.security.dialogresults.AccessWarningPaneComplexReturn.ShortcutResult desktop, boolean isSigned)`
    `void` | `createShortcutOnWindowsDesktop()`
    `void` | `createWindowsMenu()`
    `java.io.File` | `getDesktopIconFile()`
    `java.lang.String` | `getDesktopIconFileName()`
    `java.io.File` | `getGeneratedJnlpFileName()`
    `java.io.File` | `getLinuxMenuIconFile()`
    `void` | `refreshExistingShortcuts(boolean desktop, boolean menu)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WindowsDesktopEntry

          public WindowsDesktopEntry(JNLPFile file)

  - ### Method Detail

    - #### getDesktopIconFileName

          public java.lang.String getDesktopIconFileName()

      Specified by:
        `getDesktopIconFileName` in interface `GenericDesktopEntry`

    - #### getDesktopIconFile

          public java.io.File getDesktopIconFile()

      Specified by:
        `getDesktopIconFile` in interface `GenericDesktopEntry`

    - #### createShortcutOnWindowsDesktop

          public void createShortcutOnWindowsDesktop()
                                              throws java.io.IOException

      Specified by:
        `createShortcutOnWindowsDesktop` in interface `GenericDesktopEntry`
      Throws:
        `java.io.IOException`

    - #### createWindowsMenu

          public void createWindowsMenu()
                                 throws java.io.IOException

      Specified by:
        `createWindowsMenu` in interface `GenericDesktopEntry`
      Throws:
        `java.io.IOException`

    - #### createDesktopShortcuts

          public void createDesktopShortcuts(net.sourceforge.jnlp.security.dialogresults.AccessWarningPaneComplexReturn.ShortcutResult menu,
                                             net.sourceforge.jnlp.security.dialogresults.AccessWarningPaneComplexReturn.ShortcutResult desktop,
                                             boolean isSigned)

      Specified by:
        `createDesktopShortcuts` in interface `GenericDesktopEntry`

    - #### refreshExistingShortcuts

          public void refreshExistingShortcuts(boolean desktop,
                                               boolean menu)

      Specified by:
        `refreshExistingShortcuts` in interface `GenericDesktopEntry`

    - #### getGeneratedJnlpFileName

          public java.io.File getGeneratedJnlpFileName()

      Specified by:
        `getGeneratedJnlpFileName` in interface `GenericDesktopEntry`

    - #### getLinuxMenuIconFile

          public java.io.File getLinuxMenuIconFile()

      Specified by:
        `getLinuxMenuIconFile` in interface `GenericDesktopEntry`

Submit a bug or feature