/** * Returns this stream's digest, expressed as an hexadecimal string. * * @return this stream's digest, expressed as an hexadecimal string */ public String getChecksumString() { return ByteUtils.toHexString(getChecksumBytes()); } }
@Override public void changePermission(PermissionAccess access, PermissionType permission, boolean enabled) throws IOException, UnsupportedFileOperationException { changePermissions(ByteUtils.setBit(permissions.getIntValue(), (permission.toInt() << (access.toInt()*3)), enabled)); }
@Override public void changePermission(PermissionAccess access, PermissionType permission, boolean enabled) throws IOException, UnsupportedFileOperationException { changePermissions(ByteUtils.setBit(getPermissions().getIntValue(), (permission.toInt() << (access.toInt()*3)), enabled)); }
@Override public void changePermission(PermissionAccess access, PermissionType permission, boolean enabled) throws IOException { changePermissions(ByteUtils.setBit(getPermissions().getIntValue(), (permission.toInt() << (access.toInt()*3)), enabled)); }
/** * Returns this stream's digest, expressed as an hexadecimal string. * * @return this stream's digest, expressed as an hexadecimal string */ public String getChecksumString() { return ByteUtils.toHexString(getChecksumBytes()); } }
@Override public void changePermission(PermissionAccess access, PermissionType permission, boolean enabled) throws IOException { changePermissions(ByteUtils.setBit(getPermissions().getIntValue(), (permission.toInt() << (access.toInt()*3)), enabled)); }