public Builder withExtended(Map<String, String> ext) { mask |= Flag.EXTENDED.get(); this.ext.putAll(ext); return this; }
public Builder withExtended(String type, String data) { mask |= Flag.EXTENDED.get(); ext.put(type, data); return this; }
public Builder withExtended(String type, String data) { mask |= Flag.EXTENDED.get(); ext.put(type, data); return this; }
public Builder withExtended(Map<String, String> ext) { mask |= Flag.EXTENDED.get(); this.ext.putAll(ext); return this; }
public Builder withUIDGID(int uid, int gid) { mask |= Flag.UIDGID.get(); this.uid = uid; this.gid = gid; return this; }
public Builder withAtimeMtime(long atime, long mtime) { mask |= Flag.ACMODTIME.get(); this.atime = atime; this.mtime = mtime; return this; }
public Builder withPermissions(Set<FilePermission> perms) { mask |= Flag.MODE.get(); this.mode = new FileMode((mode != null ? mode.getTypeMask() : 0) | FilePermission.toMask(perms)); return this; }
public Builder withAtimeMtime(long atime, long mtime) { mask |= Flag.ACMODTIME.get(); this.atime = atime; this.mtime = mtime; return this; }
public Builder withType(FileMode.Type type) { mask |= Flag.MODE.get(); this.mode = new FileMode(type.toMask() | (mode != null ? mode.getPermissionsMask() : 0)); return this; }
public Builder withType(FileMode.Type type) { mask |= Flag.MODE.get(); this.mode = new FileMode(type.toMask() | (mode != null ? mode.getPermissionsMask() : 0)); return this; }
public Builder withUIDGID(int uid, int gid) { mask |= Flag.UIDGID.get(); this.uid = uid; this.gid = gid; return this; }
public Builder withSize(long size) { mask |= Flag.SIZE.get(); this.size = size; return this; }
public Builder withPermissions(int perms) { mask |= Flag.MODE.get(); this.mode = new FileMode((mode != null ? mode.getTypeMask() : 0) | perms); return this; }
public Builder withSize(long size) { mask |= Flag.SIZE.get(); this.size = size; return this; }
public Builder withPermissions(int perms) { mask |= Flag.MODE.get(); this.mode = new FileMode((mode != null ? mode.getTypeMask() : 0) | perms); return this; }
public Builder withPermissions(Set<FilePermission> perms) { mask |= Flag.MODE.get(); this.mode = new FileMode((mode != null ? mode.getTypeMask() : 0) | FilePermission.toMask(perms)); return this; }
public Builder withUIDGID(int uid, int gid) { mask |= Flag.UIDGID.get(); this.uid = uid; this.gid = gid; return this; }
public Builder withSize(long size) { mask |= Flag.SIZE.get(); this.size = size; return this; }
public Builder withType(FileMode.Type type) { mask |= Flag.MODE.get(); this.mode = new FileMode(type.toMask() | (mode != null ? mode.getPermissionsMask() : 0)); return this; }
public Builder withAtimeMtime(long atime, long mtime) { mask |= Flag.ACMODTIME.get(); this.atime = atime; this.mtime = mtime; return this; }