# Class MNDesktopFile

java.lang.Object
com.io7m.montarre.nativepack.internal.flatpak.MNDesktopFile

public final class MNDesktopFile extends Object
Functions to generate desktop files.

See Also:
  - "https://standards.freedesktop.org/desktop-entry-spec/latest/"

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static List<String>`
  `createDesktopFile(MPackageDeclaration packageV)`
  Generate the lines of a desktop file.
  `static String`
  `createDesktopFileText(MPackageDeclaration packageV)`
  Generate the text of a desktop file.

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

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

- ## Method Details

  - ### createDesktopFile

    public static List<String> createDesktopFile(MPackageDeclaration packageV)
    Generate the lines of a desktop file.
    Parameters:
      `packageV` - The package
    Returns:
      The lines of the file

  - ### createDesktopFileText

    public static String createDesktopFileText(MPackageDeclaration packageV)
    Generate the text of a desktop file.
    Parameters:
      `packageV` - The package
    Returns:
      The text of the file