-
public class ArchiveEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classArchiveEntry.StructTimespecpublic classArchiveEntry.StructStat
-
Field Summary
Fields Modifier and Type Field Description public final static intAE_IFMTpublic final static intAE_IFREGpublic final static intAE_IFLNKpublic final static intAE_IFSOCKpublic final static intAE_IFCHRpublic final static intAE_IFBLKpublic final static intAE_IFDIRpublic final static intAE_IFIFOpublic final static intAE_SYMLINK_TYPE_UNDEFINEDpublic final static intAE_SYMLINK_TYPE_FILEpublic final static intAE_SYMLINK_TYPE_DIRECTORYpublic final static intDIGEST_MD5public final static intDIGEST_RMD160public final static intDIGEST_SHA1public final static intDIGEST_SHA256public final static intDIGEST_SHA384public final static intDIGEST_SHA512
-
Method Summary
Modifier and Type Method Description static native voidclear(long entry)static native longclone(long entry)static native voidfree(long entry)static native longnew1()static native longnew2(long archive)static native longatime(long entry)static native longatimeNsec(long entry)static native booleanatimeIsSet(long entry)static native longbirthtime(long entry)static native longbirthtimeNsec(long entry)static native booleanbirthtimeIsSet(long entry)static native longctime(long entry)static native longctimeNsec(long entry)static native booleanctimeIsSet(long entry)static native longdev(long entry)static native booleandevIsSet(long entry)static native longdevmajor(long entry)static native longdevminor(long entry)static native intfiletype(long entry)static native booleanfiletypeIsSet(long entry)static native longfflagsSet(long entry)static native longfflagsClear(long entry)static native Array<byte>fflagsText(long entry)static native longgid(long entry)static native booleangidIsSet(long entry)static native Array<byte>gname(long entry)static native StringgnameUtf8(long entry)static native Array<byte>hardlink(long entry)static native StringhardlinkUtf8(long entry)static native booleanhardlinkIsSet(long entry)static native longino(long entry)static native booleaninoIsSet(long entry)static native intmode(long entry)static native longmtime(long entry)static native longmtimeNsec(long entry)static native booleanmtimeIsSet(long entry)static native longnlink(long entry)static native Array<byte>pathname(long entry)static native StringpathnameUtf8(long entry)static native intperm(long entry)static native booleanpermIsSet(long entry)static native booleanrdevIsSet(long entry)static native longrdev(long entry)static native longrdevmajor(long entry)static native longrdevminor(long entry)static native Array<byte>sourcepath(long entry)static native longsize(long entry)static native booleansizeIsSet(long entry)static native Array<byte>strmode(long entry)static native Array<byte>symlink(long entry)static native StringsymlinkUtf8(long entry)static native intsymlinkType(long entry)static native longuid(long entry)static native booleanuidIsSet(long entry)static native Array<byte>uname(long entry)static native StringunameUtf8(long entry)static native booleanisDataEncrypted(long entry)static native booleanisMetadataEncrypted(long entry)static native booleanisEncrypted(long entry)static native voidsetAtime(long entry, long atime, long atimeNsec)static native voidunsetAtime(long entry)static native voidsetBirthtime(long entry, long birthtime, long birthtimeNsec)static native voidunsetBirthtime(long entry)static native voidsetCtime(long entry, long ctime, long ctimeNsec)static native voidunsetCtime(long entry)static native voidsetDev(long entry, long dev)static native voidsetDevmajor(long entry, long devmajor)static native voidsetDevminor(long entry, long devminor)static native voidsetFiletype(long entry, int filetype)static native voidsetFflags(long entry, long set, long clear)static native intsetFflagsText(long entry, @Nullable() Array<byte> fflags)static native voidsetGid(long entry, long gid)static native voidsetGname(long entry, @Nullable() Array<byte> gname)static native voidsetGnameUtf8(long entry, @Nullable() String gname)static native booleanupdateGnameUtf8(long entry, @Nullable() String gname)static native voidsetHardlink(long entry, @Nullable() Array<byte> hardlink)static native voidsetHardlinkUtf8(long entry, @Nullable() String hardlink)static native booleanupdateHardlinkUtf8(long entry, @Nullable() String hardlink)static native voidsetIno(long entry, long ino)static native voidsetLink(long entry, @Nullable() Array<byte> link)static native voidsetLinkUtf8(long entry, @Nullable() String link)static native booleanupdateLinkUtf8(long entry, @Nullable() String link)static native voidsetMode(long entry, int mode)static native voidsetMtime(long entry, long mtime, long mtimeNsec)static native voidunsetMtime(long entry)static native voidsetNlink(long entry, int nlink)static native voidsetPathname(long entry, @Nullable() Array<byte> pathname)static native voidsetPathnameUtf8(long entry, @Nullable() String pathname)static native booleanupdatePathnameUtf8(long entry, @Nullable() String pathname)static native voidsetPerm(long entry, int perm)static native voidsetRdev(long entry, long rdev)static native voidsetRdevmajor(long entry, long rdevmajor)static native voidsetRdevminor(long entry, long rdevminor)static native voidsetSize(long entry, long size)static native voidunsetSize(long entry)static native voidsetSourcepath(long entry, @Nullable() Array<byte> sourcepath)static native voidsetSymlink(long entry, @Nullable() Array<byte> symlink)static native voidsetSymlinkType(long entry, int type)static native voidsetSymlinkUtf8(long entry, @Nullable() String symlink)static native booleanupdateSymlinkUtf8(long entry, @Nullable() String symlink)static native voidsetUid(long entry, long uid)static native voidsetUname(long entry, @Nullable() Array<byte> uname)static native voidsetUnameUtf8(long entry, @Nullable() String uname)static native booleanupdateUnameUtf8(long entry, @Nullable() String uname)static native voidsetDataEncrypted(long entry, boolean encrypted)static native voidsetMetadataEncrypted(long entry, boolean encrypted)static native ArchiveEntry.StructStatstat(long entry)static native voidsetStat(long entry, @NonNull() ArchiveEntry.StructStat stat)static native ByteBufferdigest(long entry, int type)-
-
Method Detail
-
clear
static native void clear(long entry)
-
clone
static native long clone(long entry)
-
free
static native void free(long entry)
-
new1
static native long new1()
-
new2
static native long new2(long archive)
-
atime
static native long atime(long entry)
-
atimeNsec
static native long atimeNsec(long entry)
-
atimeIsSet
static native boolean atimeIsSet(long entry)
-
birthtime
static native long birthtime(long entry)
-
birthtimeNsec
static native long birthtimeNsec(long entry)
-
birthtimeIsSet
static native boolean birthtimeIsSet(long entry)
-
ctime
static native long ctime(long entry)
-
ctimeNsec
static native long ctimeNsec(long entry)
-
ctimeIsSet
static native boolean ctimeIsSet(long entry)
-
dev
static native long dev(long entry)
-
devIsSet
static native boolean devIsSet(long entry)
-
devmajor
static native long devmajor(long entry)
-
devminor
static native long devminor(long entry)
-
filetype
static native int filetype(long entry)
-
filetypeIsSet
static native boolean filetypeIsSet(long entry)
-
fflagsSet
static native long fflagsSet(long entry)
-
fflagsClear
static native long fflagsClear(long entry)
-
fflagsText
@Nullable() static native Array<byte> fflagsText(long entry)
-
gid
static native long gid(long entry)
-
gidIsSet
static native boolean gidIsSet(long entry)
-
hardlinkUtf8
@Nullable() static native String hardlinkUtf8(long entry)
-
hardlinkIsSet
static native boolean hardlinkIsSet(long entry)
-
ino
static native long ino(long entry)
-
inoIsSet
static native boolean inoIsSet(long entry)
-
mode
static native int mode(long entry)
-
mtime
static native long mtime(long entry)
-
mtimeNsec
static native long mtimeNsec(long entry)
-
mtimeIsSet
static native boolean mtimeIsSet(long entry)
-
nlink
static native long nlink(long entry)
-
pathnameUtf8
@Nullable() static native String pathnameUtf8(long entry)
-
perm
static native int perm(long entry)
-
permIsSet
static native boolean permIsSet(long entry)
-
rdevIsSet
static native boolean rdevIsSet(long entry)
-
rdev
static native long rdev(long entry)
-
rdevmajor
static native long rdevmajor(long entry)
-
rdevminor
static native long rdevminor(long entry)
-
sourcepath
@Nullable() static native Array<byte> sourcepath(long entry)
-
size
static native long size(long entry)
-
sizeIsSet
static native boolean sizeIsSet(long entry)
-
symlinkUtf8
@Nullable() static native String symlinkUtf8(long entry)
-
symlinkType
static native int symlinkType(long entry)
-
uid
static native long uid(long entry)
-
uidIsSet
static native boolean uidIsSet(long entry)
-
isDataEncrypted
static native boolean isDataEncrypted(long entry)
-
isMetadataEncrypted
static native boolean isMetadataEncrypted(long entry)
-
isEncrypted
static native boolean isEncrypted(long entry)
-
setAtime
static native void setAtime(long entry, long atime, long atimeNsec)
-
unsetAtime
static native void unsetAtime(long entry)
-
setBirthtime
static native void setBirthtime(long entry, long birthtime, long birthtimeNsec)
-
unsetBirthtime
static native void unsetBirthtime(long entry)
-
setCtime
static native void setCtime(long entry, long ctime, long ctimeNsec)
-
unsetCtime
static native void unsetCtime(long entry)
-
setDev
static native void setDev(long entry, long dev)
-
setDevmajor
static native void setDevmajor(long entry, long devmajor)
-
setDevminor
static native void setDevminor(long entry, long devminor)
-
setFiletype
static native void setFiletype(long entry, int filetype)
-
setFflags
static native void setFflags(long entry, long set, long clear)
-
setFflagsText
static native int setFflagsText(long entry, @Nullable() Array<byte> fflags)
-
setGid
static native void setGid(long entry, long gid)
-
setGnameUtf8
static native void setGnameUtf8(long entry, @Nullable() String gname)
-
updateGnameUtf8
static native boolean updateGnameUtf8(long entry, @Nullable() String gname)
-
setHardlink
static native void setHardlink(long entry, @Nullable() Array<byte> hardlink)
-
setHardlinkUtf8
static native void setHardlinkUtf8(long entry, @Nullable() String hardlink)
-
updateHardlinkUtf8
static native boolean updateHardlinkUtf8(long entry, @Nullable() String hardlink)
-
setIno
static native void setIno(long entry, long ino)
-
setLinkUtf8
static native void setLinkUtf8(long entry, @Nullable() String link)
-
updateLinkUtf8
static native boolean updateLinkUtf8(long entry, @Nullable() String link)
-
setMode
static native void setMode(long entry, int mode)
-
setMtime
static native void setMtime(long entry, long mtime, long mtimeNsec)
-
unsetMtime
static native void unsetMtime(long entry)
-
setNlink
static native void setNlink(long entry, int nlink)
-
setPathname
static native void setPathname(long entry, @Nullable() Array<byte> pathname)
-
setPathnameUtf8
static native void setPathnameUtf8(long entry, @Nullable() String pathname)
-
updatePathnameUtf8
static native boolean updatePathnameUtf8(long entry, @Nullable() String pathname)
-
setPerm
static native void setPerm(long entry, int perm)
-
setRdev
static native void setRdev(long entry, long rdev)
-
setRdevmajor
static native void setRdevmajor(long entry, long rdevmajor)
-
setRdevminor
static native void setRdevminor(long entry, long rdevminor)
-
setSize
static native void setSize(long entry, long size)
-
unsetSize
static native void unsetSize(long entry)
-
setSourcepath
static native void setSourcepath(long entry, @Nullable() Array<byte> sourcepath)
-
setSymlink
static native void setSymlink(long entry, @Nullable() Array<byte> symlink)
-
setSymlinkType
static native void setSymlinkType(long entry, int type)
-
setSymlinkUtf8
static native void setSymlinkUtf8(long entry, @Nullable() String symlink)
-
updateSymlinkUtf8
static native boolean updateSymlinkUtf8(long entry, @Nullable() String symlink)
-
setUid
static native void setUid(long entry, long uid)
-
setUnameUtf8
static native void setUnameUtf8(long entry, @Nullable() String uname)
-
updateUnameUtf8
static native boolean updateUnameUtf8(long entry, @Nullable() String uname)
-
setDataEncrypted
static native void setDataEncrypted(long entry, boolean encrypted)
-
setMetadataEncrypted
static native void setMetadataEncrypted(long entry, boolean encrypted)
-
stat
@NonNull() static native ArchiveEntry.StructStat stat(long entry)
-
setStat
static native void setStat(long entry, @NonNull() ArchiveEntry.StructStat stat)
-
digest
@Nullable() static native ByteBuffer digest(long entry, int type)
-
-
-
-