com.izforge.izpack.panels
Class ShortcutData
java.lang.Object
com.izforge.izpack.panels.ShortcutData
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ShortcutData
- extends java.lang.Object
- implements java.lang.Cloneable
This class serves as a data structure in
ShortcutPanel
- Version:
- 0.0.1 / 4/1/02
- Author:
- Elmar Grom
Method Summary |
java.lang.Object |
clone()
Returns a clone (copy) of this object. |
private java.lang.String |
cloneString(java.lang.String original)
Clones a String , that is it makes a copy of the content, not of the
reference. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
description
public java.lang.String description
target
public java.lang.String target
commandLine
public java.lang.String commandLine
type
public int type
userType
public int userType
addToGroup
public boolean addToGroup
subgroup
public java.lang.String subgroup
iconFile
public java.lang.String iconFile
iconIndex
public int iconIndex
initialState
public int initialState
workingDirectory
public java.lang.String workingDirectory
deskTopEntryLinux_MimeType
public java.lang.String deskTopEntryLinux_MimeType
deskTopEntryLinux_Terminal
public java.lang.String deskTopEntryLinux_Terminal
deskTopEntryLinux_TerminalOptions
public java.lang.String deskTopEntryLinux_TerminalOptions
deskTopEntryLinux_Type
public java.lang.String deskTopEntryLinux_Type
deskTopEntryLinux_URL
public java.lang.String deskTopEntryLinux_URL
deskTopEntryLinux_Encoding
public java.lang.String deskTopEntryLinux_Encoding
deskTopEntryLinux_X_KDE_SubstituteUID
public java.lang.String deskTopEntryLinux_X_KDE_SubstituteUID
createForAll
public java.lang.Boolean createForAll
ShortcutData
public ShortcutData()
clone
public java.lang.Object clone()
throws java.lang.OutOfMemoryError
- Returns a clone (copy) of this object.
- Returns:
- a copy of this object
- Throws:
java.lang.CloneNotSupportedException
java.lang.OutOfMemoryError
cloneString
private java.lang.String cloneString(java.lang.String original)
- Clones a
String
, that is it makes a copy of the content, not of the
reference. In addition, if the original is null
then an empty
String
is returned rather than null
.
- Parameters:
original
- the String
to clone
- Returns:
- a clone of the original