/** * Returns the access control list as a String that can be used for building a * new instance by sending it to the constructor of {@link AccessControlList}. */ public String getAclString() { StringBuilder sb = new StringBuilder(INITIAL_CAPACITY); if (allAllowed) { sb.append('*'); } else { sb.append(getUsersString()); sb.append(" "); sb.append(getGroupsString()); } return sb.toString(); }
/** * Returns the access control list as a String that can be used for building a * new instance by sending it to the constructor of {@link AccessControlList}. */ public String getAclString() { StringBuilder sb = new StringBuilder(INITIAL_CAPACITY); if (allAllowed) { sb.append('*'); } else { sb.append(getUsersString()); sb.append(" "); sb.append(getGroupsString()); } return sb.toString(); }
/** * Returns the access control list as a String that can be used for building a * new instance by sending it to the constructor of {@link AccessControlList}. */ public String getAclString() { StringBuilder sb = new StringBuilder(INITIAL_CAPACITY); if (allAllowed) { sb.append('*'); } else { sb.append(getUsersString()); sb.append(" "); sb.append(getGroupsString()); } return sb.toString(); }
/** * Returns the access control list as a String that can be used for building a * new instance by sending it to the constructor of {@link AccessControlList}. */ public String getAclString() { StringBuilder sb = new StringBuilder(INITIAL_CAPACITY); if (allAllowed) { sb.append('*'); } else { sb.append(getUsersString()); sb.append(" "); sb.append(getGroupsString()); } return sb.toString(); }
/** * Returns the access control list as a String that can be used for building a * new instance by sending it to the constructor of {@link AccessControlList}. */ public String getAclString() { StringBuilder sb = new StringBuilder(INITIAL_CAPACITY); if (allAllowed) { sb.append('*'); } else { sb.append(getUsersString()); sb.append(" "); sb.append(getGroupsString()); } return sb.toString(); }