类 com.sun.mail.imap.Rights
的使用

使用 Rights 的软件包
com.sun.mail.imap An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store. 
com.sun.mail.imap.protocol   
 

com.sun.mail.imapRights 的使用
 

返回 Rightscom.sun.mail.imap 中的方法
 Rights ACL.getRights()
          Get the rights associated with this ACL entry.
 Rights[] IMAPFolder.listRights(String name)
          Get all the rights that may be allowed to the given identifier.
 Rights IMAPFolder.myRights()
          Get the rights allowed to the currently authenticated user.
 

参数类型为 Rightscom.sun.mail.imap 中的方法
 void Rights.add(Rights rights)
          Add all the rights in the given Rights object to this Rights object.
 boolean Rights.contains(Rights rights)
          Check whether all the rights in the specified Rights object are present in this Rights object.
 void Rights.remove(Rights rights)
          Remove all rights in the given Rights object from this Rights object.
 void ACL.setRights(Rights rights)
          Set the rights associated with this ACL entry.
 

参数类型为 Rightscom.sun.mail.imap 中的构造方法
ACL(String name, Rights rights)
          Construct an ACL entry for the given identifier with the given rights.
Rights(Rights rights)
          Construct a Rights object initialized with the given rights.
 

com.sun.mail.imap.protocolRights 的使用
 

返回 Rightscom.sun.mail.imap.protocol 中的方法
 Rights[] IMAPProtocol.listRights(String mbox, String user)
          LISTRIGHTS Command.
 Rights IMAPProtocol.myRights(String mbox)
          MYRIGHTS Command.
 



Copyright © 2013. All Rights Reserved.