Lines Matching refs:name
37 * summary="Table shows permission target name, what the permission allows, and associated risks">
68 private void checkName(String name) {
69 if (!name.equals("hard") && !name.equals("symbolic")) {
70 throw new IllegalArgumentException("name: " + name);
75 * Constructs a {@code LinkPermission} with the specified name.
77 * @param name
78 * the name of the permission. It must be "hard" or "symbolic".
81 * if name is empty or invalid
83 public LinkPermission(String name) {
84 super(name);
85 checkName(name);
89 * Constructs a {@code LinkPermission} with the specified name.
91 * @param name
92 * the name of the permission; must be "hard" or "symbolic".
98 * if name is empty or invalid, or actions is a non-empty string
100 public LinkPermission(String name, String actions) {
101 super(name);
102 checkName(name);