Class DesktopEntry


  • public class DesktopEntry
    extends java.lang.Object
    Generate a desktop entry file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String COMMENT  
      private static java.lang.String GENERIC_NAME  
      private static java.io.File SOURCE_DIRECTORY  
    • Constructor Summary

      Constructors 
      Constructor Description
      DesktopEntry()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Pass the desktop entry file to create as first argument.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SOURCE_DIRECTORY

        private static final java.io.File SOURCE_DIRECTORY
    • Constructor Detail

      • DesktopEntry

        public DesktopEntry()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Pass the desktop entry file to create as first argument.
        Parameters:
        args - The program arguments.
        Throws:
        java.io.FileNotFoundException - if the source file is absent.
        java.io.IOException - when various IO fails.