java.lang.Object
mslinks.ShellLinkHeader
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Filetime
private static GUID
private Filetime
private FileAttributesFlags
private int
private static int
private HotKeyFlags
private int
private LinkFlags
private int
static final int
static final int
static final int
private Filetime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
void
serialize
(ByteWriter bw) setFileSize
(long n) setIconIndex
(int n) setShowCommand
(int n)
-
Field Details
-
headerSize
private static int headerSize -
clsid
-
SW_SHOWNORMAL
public static final int SW_SHOWNORMAL- See Also:
-
SW_SHOWMAXIMIZED
public static final int SW_SHOWMAXIMIZED- See Also:
-
SW_SHOWMINNOACTIVE
public static final int SW_SHOWMINNOACTIVE- See Also:
-
lf
-
faf
-
creationTime
-
accessTime
-
writeTime
-
fileSize
private int fileSize -
iconIndex
private int iconIndex -
showCommand
private int showCommand -
hkf
-
-
Constructor Details
-
ShellLinkHeader
public ShellLinkHeader() -
ShellLinkHeader
- Throws:
ShellLinkException
IOException
-
-
Method Details
-
getLinkFlags
-
getFileAttributesFlags
-
getCreationTime
-
getAccessTime
-
getWriteTime
-
getHotKeyFlags
-
getFileSize
public int getFileSize() -
setFileSize
-
getIconIndex
public int getIconIndex() -
setIconIndex
-
getShowCommand
public int getShowCommand() -
setShowCommand
- Throws:
ShellLinkException
-
serialize
- Specified by:
serialize
in interfaceSerializable
- Throws:
IOException
-