public class ItemID extends java.lang.Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_CLSID |
static int |
TYPE_DIRECTORY |
static int |
TYPE_DRIVE |
static int |
TYPE_FILE |
static int |
TYPE_UNKNOWN |
| Constructor and Description |
|---|
ItemID() |
ItemID(byte[] d) |
ItemID(ByteReader br) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
int |
getSize() |
int |
getType() |
void |
serialize(ByteWriter bw) |
ItemID |
setName(java.lang.String s) |
ItemID |
setSize(int s) |
ItemID |
setType(int t) |
public static final int TYPE_UNKNOWN
public static final int TYPE_FILE
public static final int TYPE_DIRECTORY
public static final int TYPE_DRIVE
public static final int TYPE_CLSID
public ItemID()
public ItemID(byte[] d)
public ItemID(ByteReader br) throws java.io.IOException, ShellLinkException
java.io.IOExceptionShellLinkExceptionpublic void serialize(ByteWriter bw) throws java.io.IOException
serialize in interface Serializablejava.io.IOExceptionpublic java.lang.String getName()
public ItemID setName(java.lang.String s) throws ShellLinkException
ShellLinkExceptionpublic int getSize()
public ItemID setSize(int s) throws ShellLinkException
ShellLinkExceptionpublic int getType()
public ItemID setType(int t) throws ShellLinkException
ShellLinkException