gnu.mail.providers.imap

Class Rights


public final class Rights
extends java.lang.Object

A set of rights, as defined in RFC 2086. Please note that this API is experimental and will probably change soon when the IETF working group delivers a a new specification.

Nested Class Summary

static class
Rights.Right

Constructor Summary

Rights()
Rights(String rights)
Rights(Rights rights)
Rights(Rights.Right right)

Method Summary

void
add(Rights rights)
void
add(Rights.Right right)
boolean
contains(Rights rights)
boolean
contains(Rights.Right right)
boolean
equals(Object obj)
int
hashCode()
void
remove(Rights rights)
void
remove(Rights.Right right)

Constructor Details

Rights

public Rights()

Rights

public Rights(String rights)

Rights

public Rights(Rights rights)

Rights

public Rights(Rights.Right right)

Method Details

add

public void add(Rights rights)

add

public void add(Rights.Right right)

contains

public boolean contains(Rights rights)

contains

public boolean contains(Rights.Right right)

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

remove

public void remove(Rights rights)

remove

public void remove(Rights.Right right)