|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.Structure com.jniwrapper.win32.shell.SHFileInfo
public class SHFileInfo
SHFileInfo class represents SHFILEINFO structure, both ANSI and Unicode kinds.
Field Summary | |
---|---|
static int |
SHGFI_ATTR_SPECIFIED
|
static int |
SHGFI_ATTRIBUTES
|
static int |
SHGFI_DISPLAYNAME
|
static int |
SHGFI_EXETYPE
|
static int |
SHGFI_ICON
|
static int |
SHGFI_ICONLOCATION
|
static int |
SHGFI_LARGEICON
|
static int |
SHGFI_LINKOVERLAY
|
static int |
SHGFI_OPENICON
|
static int |
SHGFI_PIDL
|
static int |
SHGFI_SELECTED
|
static int |
SHGFI_SHELLICONSIZE
|
static int |
SHGFI_SMALLICON
|
static int |
SHGFI_SYSICONINDEX
|
static int |
SHGFI_TYPENAME
|
static int |
SHGFI_USEFILEATTRIBUTES
|
Fields inherited from class com.jniwrapper.Structure |
---|
i |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getDisplayName()
Returns display name. |
static SHFileInfo |
getFileInfo(Handle handle,
int fileAttributes,
int flags)
Retrieves file information. |
static SHFileInfo |
getFileInfo(java.lang.String path,
int flags)
Retrieves file information. |
static SHFileInfo |
getFileInfo(java.lang.String path,
int fileAttributes,
int flags)
Retrieves file information. |
Icon |
getIcon()
Returns shell icon. |
int |
getIconIndex()
Returns icon index. |
Methods inherited from class com.jniwrapper.Structure |
---|
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SHGFI_ICON
public static final int SHGFI_DISPLAYNAME
public static final int SHGFI_TYPENAME
public static final int SHGFI_ATTRIBUTES
public static final int SHGFI_ICONLOCATION
public static final int SHGFI_EXETYPE
public static final int SHGFI_SYSICONINDEX
public static final int SHGFI_LINKOVERLAY
public static final int SHGFI_SELECTED
public static final int SHGFI_ATTR_SPECIFIED
public static final int SHGFI_LARGEICON
public static final int SHGFI_SMALLICON
public static final int SHGFI_OPENICON
public static final int SHGFI_SHELLICONSIZE
public static final int SHGFI_PIDL
public static final int SHGFI_USEFILEATTRIBUTES
Method Detail |
---|
public Icon getIcon()
public int getIconIndex()
public java.lang.String getDisplayName()
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure
public static SHFileInfo getFileInfo(java.lang.String path, int fileAttributes, int flags)
path
- is a file pathfileAttributes
- flags
-
public static SHFileInfo getFileInfo(Handle handle, int fileAttributes, int flags)
handle
- fileAttributes
- flags
- flags used to fill result structure. NOTE: SHFileInfo.SHGFI_PIDL added automatically
public static SHFileInfo getFileInfo(java.lang.String path, int flags)
path
- is a file pathflags
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |