java.lang.Object
mslinks.data.ItemID
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GUID
private byte[]
private static final int
private static final int
private static final int
private static final int
private String
private static final GUID
private String
private int
private int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mycomputer
-
EXT_VERSION_WINXP
private static final int EXT_VERSION_WINXP- See Also:
-
EXT_VERSION_VISTA
private static final int EXT_VERSION_VISTA- See Also:
-
EXT_VERSION_WIN7
private static final int EXT_VERSION_WIN7- See Also:
-
EXT_VERSION_WIN8
private static final int EXT_VERSION_WIN8- See Also:
-
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN- See Also:
-
TYPE_FILE_OLD
public static final int TYPE_FILE_OLD- See Also:
-
TYPE_DIRECTORY_OLD
public static final int TYPE_DIRECTORY_OLD- See Also:
-
TYPE_FILE
public static final int TYPE_FILE- See Also:
-
TYPE_DIRECTORY
public static final int TYPE_DIRECTORY- See Also:
-
TYPE_DRIVE_OLD
public static final int TYPE_DRIVE_OLD- See Also:
-
TYPE_DRIVE
public static final int TYPE_DRIVE- See Also:
-
TYPE_CLSID
public static final int TYPE_CLSID- See Also:
-
type
private int type -
size
private int size -
shortname
-
longname
-
clsid
-
data
private byte[] data
-
-
Constructor Details
-
ItemID
public ItemID() -
ItemID
public ItemID(byte[] d) -
ItemID
- Throws:
IOException
ShellLinkException
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceSerializable
- Throws:
IOException
-
getName
-
setName
- Throws:
ShellLinkException
-
getSize
public int getSize() -
setSize
- Throws:
ShellLinkException
-
getType
public int getType() -
setType
- Throws:
ShellLinkException
-
isLongFilename
-
generateShortName
-