Package net.sf.freecol.tools
Class DesktopEntry
- java.lang.Object
-
- net.sf.freecol.tools.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.
-
-
-
Field Detail
-
SOURCE_DIRECTORY
private static final java.io.File SOURCE_DIRECTORY
-
GENERIC_NAME
private static final java.lang.String GENERIC_NAME
- See Also:
- Constant Field Values
-
COMMENT
private static final java.lang.String COMMENT
- See Also:
- Constant Field Values
-
-
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.
-
-