/** * Gets the GID as a long. GID is typically a 32 bit unsigned value on most UNIX systems, so we * return a long to avoid integer overflow into the negatives in case values above and including * 2^31 are being used. * * @return the GID value. */ public long getGID() { return ZipUtil.bigToLong(gid); }
/** * Sets the GID. * * @param l GID value to set on this extra field. */ public void setGID(long l) { this.gid = ZipUtil.longToBig(l); }
/** * Gets the UID as a long. UID is typically a 32 bit unsigned value on most UNIX systems, so we * return a long to avoid integer overflow into the negatives in case values above and including * 2^31 are being used. * * @return the UID value. */ public long getUID() { return ZipUtil.bigToLong(uid); }
/** * Sets the UID. * * @param l UID value to set on this extra field. */ public void setUID(long l) { this.uid = ZipUtil.longToBig(l); }