java.lang.Object
mslinks.ShellLinkHeader
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Filetimeprivate static GUIDprivate Filetimeprivate FileAttributesFlagsprivate intprivate static intprivate HotKeyFlagsprivate intprivate LinkFlagsprivate intstatic final intstatic final intstatic final intprivate Filetime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintvoidserialize(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:
ShellLinkExceptionIOException
-
-
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:
serializein interfaceSerializable- Throws:
IOException
-