Package com.sun.mail.imap.protocol
Class Namespaces
- java.lang.Object
-
- com.sun.mail.imap.protocol.Namespaces
-
public class Namespaces extends java.lang.Object
This class and its inner class represent the response to the NAMESPACE command.See RFC 2342.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Namespaces.Namespace
A single namespace entry.
-
Field Summary
Fields Modifier and Type Field Description Namespaces.Namespace[]
otherUsers
The namespaces for other users.Namespaces.Namespace[]
personal
The personal namespaces.Namespaces.Namespace[]
shared
The shared namespace.
-
Constructor Summary
Constructors Constructor Description Namespaces(Response r)
Parse out all the namespaces.
-
-
-
Field Detail
-
personal
public Namespaces.Namespace[] personal
The personal namespaces. May be null.
-
otherUsers
public Namespaces.Namespace[] otherUsers
The namespaces for other users. May be null.
-
shared
public Namespaces.Namespace[] shared
The shared namespace. May be null.
-
-
Constructor Detail
-
Namespaces
public Namespaces(Response r) throws ProtocolException
Parse out all the namespaces.- Parameters:
r
- the Response to parse- Throws:
ProtocolException
- for any protocol errors
-
-