|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object plugins.wfx.Win32FindData
public class Win32FindData
This class contains all file informations about one file system entry.
Field Summary | |
---|---|
static long |
ERROR_NO_MORE_FILES
error code for setLastError(): empty directory detected. |
static long |
ERROR_SUCCESS
error code for setLastError(): no error detected. |
static long |
FILE_ATTRIBUTE_ARCHIVE
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_COMPRESSED
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_DEVICE
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_DIRECTORY
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_ENCRYPTED
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_HIDDEN
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_NORMAL
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_OFFLINE
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_READONLY
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_REPARSE_POINT
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_SPARSE_FILE
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_SYSTEM
file attribute of dwFileAttributes. |
static long |
FILE_ATTRIBUTE_TEMPORARY
file attribute of dwFileAttributes. |
Constructor Summary | |
---|---|
Win32FindData()
|
Method Summary | |
---|---|
java.lang.String |
getAlternateFileName()
Get DOS-style file name (optional), set empty if unused. |
FileTime |
getCreationTime()
Get Set Currently unused. |
long |
getFileAttributes()
Get File attributes. |
java.lang.String |
getFileName()
Get Local file name relative to the directory (without the path). |
long |
getFileSizeHigh()
Get High word of file size. |
long |
getFileSizeLow()
Get Low word of file size. |
FileTime |
getLastAccessTime()
Get Currently unused. |
long |
getLastErrorMessage()
Get error code: Currently supported: ERROR_NO_MORE_FILES, ERROR_SUCCESS (default). |
FileTime |
getLastWriteTime()
Get Time stamp shown in the Total Commander file list, and copied with files. |
long |
getReserved0()
Get On Unix systems, you can | (or) the dwFileAttributes field with 0x80000000 and set the dwReserved0 parameter to the Unix file mode (permissions). |
long |
getReserved1()
Get Unused, must be set to 0. |
void |
setAlternateFileName(java.lang.String alternateFileName)
Set DOS-style file name (optional), set empty if unused. |
void |
setCreationTime(FileTime creationTime)
Set Currently unused. |
void |
setFileAttributes(long fileAttributes)
Set File attributes. |
void |
setFileName(java.lang.String fileName)
Set Local file name relative to the directory (without the path). |
void |
setFileSizeHigh(long fileSizeHigh)
Set High word of file size. |
void |
setFileSizeLow(long fileSizeLow)
Set Low word of file size. |
void |
setFromFile(java.io.File file)
Set Win32 find data. |
void |
setLastAccessTime(FileTime lastAccessTime)
Set Currently unused. |
void |
setLastErrorMessage(long errorCode)
Set error code: Currently supported: ERROR_NO_MORE_FILES, ERROR_SUCCESS (default). |
void |
setLastWriteTime(FileTime lastWriteTime)
Set Time stamp shown in the Total Commander file list, and copied with files. |
void |
setReserved0(long reserved0)
Set On Unix systems, you can | (or) the dwFileAttributes field with 0x80000000 and set the dwReserved0 parameter to the Unix file mode (permissions). |
void |
setReserved1(long reserved1)
Set Unused, must be set to 0. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long ERROR_SUCCESS
public static final long ERROR_NO_MORE_FILES
public static final long FILE_ATTRIBUTE_READONLY
public static final long FILE_ATTRIBUTE_HIDDEN
public static final long FILE_ATTRIBUTE_SYSTEM
public static final long FILE_ATTRIBUTE_DIRECTORY
public static final long FILE_ATTRIBUTE_ARCHIVE
public static final long FILE_ATTRIBUTE_DEVICE
public static final long FILE_ATTRIBUTE_NORMAL
public static final long FILE_ATTRIBUTE_TEMPORARY
public static final long FILE_ATTRIBUTE_SPARSE_FILE
public static final long FILE_ATTRIBUTE_REPARSE_POINT
public static final long FILE_ATTRIBUTE_COMPRESSED
public static final long FILE_ATTRIBUTE_OFFLINE
public static final long FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
public static final long FILE_ATTRIBUTE_ENCRYPTED
Constructor Detail |
---|
public Win32FindData()
Method Detail |
---|
public final long getLastErrorMessage()
public final void setLastErrorMessage(long errorCode)
errorCode
- the error codepublic final long getFileAttributes()
public final void setFileAttributes(long fileAttributes)
fileAttributes
- The dwFileAttributes to set.public final FileTime getCreationTime()
public final void setCreationTime(FileTime creationTime)
creationTime
- The ftCreationTime to set.public final FileTime getLastAccessTime()
public final void setLastAccessTime(FileTime lastAccessTime)
lastAccessTime
- The ftLastAccessTime to set.public final FileTime getLastWriteTime()
public final void setLastWriteTime(FileTime lastWriteTime)
lastWriteTime
- The ftLastWriteTime to set.public final long getFileSizeHigh()
public final void setFileSizeHigh(long fileSizeHigh)
fileSizeHigh
- The nFileSizeHigh to set.public final long getFileSizeLow()
public final void setFileSizeLow(long fileSizeLow)
fileSizeLow
- The nFileSizeLow to set.public final long getReserved0()
public final void setReserved0(long reserved0)
reserved0
- The dwReserved0 to set.public final long getReserved1()
public final void setReserved1(long reserved1)
reserved1
- The dwReserved1 to set.public final java.lang.String getFileName()
public final void setFileName(java.lang.String fileName)
fileName
- The cFileName to set.public final java.lang.String getAlternateFileName()
public final void setAlternateFileName(java.lang.String alternateFileName)
alternateFileName
- The cAlternateFileName to set.public final void setFromFile(java.io.File file)
file
- the file with the information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |