正在查看: Chaupal v3.2 应用的 GroupGrantee.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Chaupal v3.2 应用的 GroupGrantee.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.amazonaws.services.s3.model;
public enum GroupGrantee implements Grantee {
AllUsers("http://acs.amazonaws.com/groups/global/AllUsers"),
AuthenticatedUsers("http://acs.amazonaws.com/groups/global/AuthenticatedUsers"),
LogDelivery("http://acs.amazonaws.com/groups/s3/LogDelivery");
private String groupUri;
GroupGrantee(String str) {
this.groupUri = str;
}
public static GroupGrantee parseGroupGrantee(String str) {
for (GroupGrantee groupGrantee : values()) {
if (groupGrantee.groupUri.equals(str)) {
return groupGrantee;
}
}
return null;
}
public String getIdentifier() {
return this.groupUri;
}
public String getTypeIdentifier() {
return "uri";
}
@Override
public void setIdentifier(String str) {
throw new UnsupportedOperationException("Group grantees have preset identifiers that cannot be modified.");
}
@Override
public String toString() {
return "GroupGrantee [" + this.groupUri + "]";
}
}