|
||||||||||
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.io.FileTime
public class FileTime
FileTime class represents the FILETIME structure.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Structure |
---|
i |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
FileTime()
Creates instance of the FileTime |
|
FileTime(FileTime that)
Creates instance of the FileTime from the another instance of the FileTime |
|
FileTime(long lowDateTime,
long highDateTime)
Creates instance of the FileTime with the specified time |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns the copy of this instance |
void |
fromDate(java.util.Date date)
Converts the specified Date value to the internal presentation of FILETIME format. |
long |
getHighDateTime()
Returns high-order part of the file time. |
long |
getLowDateTime()
Returns low-order part of the file time. |
void |
setHighDateTime(long value)
Sets high-order part of the file time. |
void |
setLowDateTime(long value)
Sets low-order part of the file time. |
java.util.Date |
toDate()
Converts the value of this FILETIME structure to Java Date format. |
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 |
Constructor Detail |
---|
public FileTime()
FileTime
public FileTime(long lowDateTime, long highDateTime)
FileTime
with the specified time
lowDateTime
- The low-order part of the file timehighDateTime
- The high-order part of the file timepublic FileTime(FileTime that)
FileTime
from the another instance of the FileTime
that
- Instance of the FileTime
Method Detail |
---|
public long getLowDateTime()
public void setLowDateTime(long value)
value
- Low-order part of the file time.public long getHighDateTime()
public void setHighDateTime(long value)
value
- High-order part of the file time.public java.util.Date toDate()
FILETIME
structure to Java Date
format.
public void fromDate(java.util.Date date)
Date
value to the internal presentation of FILETIME
format.
date
- the date to setpublic java.lang.Object clone()
clone
in class com.jniwrapper.Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |