public class AclFileWriter
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
AclFileWriter(INodeClient nodeClient,
java.util.List<java.lang.String> domains) |
AclFileWriter(INodeClient nodeClient,
java.util.Map<java.lang.String,java.lang.String> entries,
java.util.List<java.lang.String> partitions) |
AclFileWriter(java.lang.String serverIp,
java.util.List<java.lang.String> domains) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static java.lang.String |
cyrusEscape(java.lang.String name) |
void |
done() |
void |
setAcl(java.lang.String partition,
java.lang.String box,
java.util.Map<java.lang.String,Acl> acl,
java.lang.String root) |
protected static java.lang.String |
toUtf7(java.lang.String mailbox) |
public AclFileWriter(java.lang.String serverIp, java.util.List<java.lang.String> domains)
public AclFileWriter(INodeClient nodeClient, java.util.Map<java.lang.String,java.lang.String> entries, java.util.List<java.lang.String> partitions)
public AclFileWriter(INodeClient nodeClient, java.util.List<java.lang.String> domains)
public void setAcl(java.lang.String partition, java.lang.String box, java.util.Map<java.lang.String,Acl> acl, java.lang.String root) throws ServerFault
ServerFault
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception
public void done()
public static java.lang.String cyrusEscape(java.lang.String name)
protected static java.lang.String toUtf7(java.lang.String mailbox)
Copyright © 2021. All Rights Reserved.