You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
1.1 KiB
85 lines
1.1 KiB
/*
|
|
* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package java.nio.file.attribute;
|
|
|
|
/**
|
|
* Defines the bits for use with the {@link PosixFileAttributes#permissions()
|
|
* permissions} attribute.
|
|
*
|
|
* <p> The {@link PosixFilePermissions} class defines methods for manipulating
|
|
* set of permissions.
|
|
*
|
|
* @since 1.7
|
|
*/
|
|
|
|
public enum PosixFilePermission {
|
|
|
|
/**
|
|
* Read permission, owner.
|
|
*/
|
|
OWNER_READ,
|
|
|
|
/**
|
|
* Write permission, owner.
|
|
*/
|
|
OWNER_WRITE,
|
|
|
|
/**
|
|
* Execute/search permission, owner.
|
|
*/
|
|
OWNER_EXECUTE,
|
|
|
|
/**
|
|
* Read permission, group.
|
|
*/
|
|
GROUP_READ,
|
|
|
|
/**
|
|
* Write permission, group.
|
|
*/
|
|
GROUP_WRITE,
|
|
|
|
/**
|
|
* Execute/search permission, group.
|
|
*/
|
|
GROUP_EXECUTE,
|
|
|
|
/**
|
|
* Read permission, others.
|
|
*/
|
|
OTHERS_READ,
|
|
|
|
/**
|
|
* Write permission, others.
|
|
*/
|
|
OTHERS_WRITE,
|
|
|
|
/**
|
|
* Execute/search permission, others.
|
|
*/
|
|
OTHERS_EXECUTE;
|
|
}
|