예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * Sets the GID.
  *
  * @param l GID value to set on this extra field.
  */
 public void setGID(long l) {
   this.gid = ZipUtil.longToBig(l);
 }
예제 #3
0
 /**
  * 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);
 }
예제 #4
0
 /**
  * Sets the UID.
  *
  * @param l UID value to set on this extra field.
  */
 public void setUID(long l) {
   this.uid = ZipUtil.longToBig(l);
 }