Package net.sf.freecol.tools
Class DesktopEntry
- java.lang.Object
-
- net.sf.freecol.tools.DesktopEntry
-
public class DesktopEntry extends java.lang.ObjectGenerate a desktop entry file.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringCOMMENTprivate static java.lang.StringGENERIC_NAMEprivate static java.io.FileSOURCE_DIRECTORY
-
Constructor Summary
Constructors Constructor Description DesktopEntry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(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.IOExceptionPass 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.
-
-