ZipEntry.SetLastAccessTime(FileTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the last access time of the entry.
[Android.Runtime.Register("setLastAccessTime", "(Ljava/nio/file/attribute/FileTime;)Ljava/util/zip/ZipEntry;", "GetSetLastAccessTime_Ljava_nio_file_attribute_FileTime_Handler", ApiSince=26)]
public virtual Java.Util.Zip.ZipEntry? SetLastAccessTime (Java.Nio.FileNio.Attributes.FileTime? time);
[<Android.Runtime.Register("setLastAccessTime", "(Ljava/nio/file/attribute/FileTime;)Ljava/util/zip/ZipEntry;", "GetSetLastAccessTime_Ljava_nio_file_attribute_FileTime_Handler", ApiSince=26)>]
abstract member SetLastAccessTime : Java.Nio.FileNio.Attributes.FileTime -> Java.Util.Zip.ZipEntry
override this.SetLastAccessTime : Java.Nio.FileNio.Attributes.FileTime -> Java.Util.Zip.ZipEntry
Parameters
- time
- FileTime
The last access time of the entry
Returns
This zip entry
- Attributes
Remarks
Sets the last access time of the entry.
If set, the last access time will be stored into the extended timestamp fields of entry's optional extra data
, when output to a ZIP file or ZIP file formatted stream.
Added in 1.8.
Java documentation for java.util.zip.ZipEntry.setLastAccessTime(java.nio.file.attribute.FileTime)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.