зеркало из https://github.com/mozilla/gecko-dev.git
745 строки
25 KiB
HTML
745 строки
25 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc on Sun Aug 01 23:07:12 MDT 1999 -->
|
|
<TITLE>
|
|
: Class Newsgroup
|
|
</TITLE>
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
</HEAD>
|
|
<BODY BGCOLOR="white">
|
|
|
|
<!-- ========== START OF NAVBAR ========== -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../dog/mail/nntp/Article.html"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../dog/mail/nntp/NNTPStore.html"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
|
<A HREF="Newsgroup.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_javax.mail.Folder">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- =========== END OF NAVBAR =========== -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
dog.mail.nntp</FONT>
|
|
<BR>
|
|
Class Newsgroup</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
|
|
|
+--javax.mail.Folder
|
|
|
|
|
+--<B>dog.mail.nntp.Newsgroup</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT>public class <B>Newsgroup</B><DT>extends javax.mail.Folder</DL>
|
|
|
|
<P>
|
|
The folder class implementing the NNTP mail protocol.
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="fields_inherited_from_class_javax.mail.Folder"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
|
|
<TD><B>Fields inherited from class javax.mail.Folder</B></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD><CODE>HOLDS_FOLDERS,
|
|
HOLDS_MESSAGES,
|
|
mode,
|
|
READ_ONLY,
|
|
READ_WRITE,
|
|
store</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected </CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#Newsgroup(javax.mail.Store, java.lang.String)">Newsgroup</A></B>(javax.mail.Store store,
|
|
java.lang.String name)</CODE>
|
|
|
|
<BR>
|
|
Constructor.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected </CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#Newsgroup(javax.mail.Store, java.lang.String, int, int, int)">Newsgroup</A></B>(javax.mail.Store store,
|
|
java.lang.String name,
|
|
int count,
|
|
int first,
|
|
int last)</CODE>
|
|
|
|
<BR>
|
|
Constructor.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#appendMessages(javax.mail.Message[])">appendMessages</A></B>(javax.mail.Message[] articles)</CODE>
|
|
|
|
<BR>
|
|
NNTP folders are read-only.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#close(boolean)">close</A></B>(boolean expunge)</CODE>
|
|
|
|
<BR>
|
|
Closes this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#create(int)">create</A></B>(int i)</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't be created, deleted, or renamed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#delete(boolean)">delete</A></B>(boolean flag)</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't be created, deleted, or renamed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#exists()">exists</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Indicates whether this folder exists.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Message[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#expunge()">expunge</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Expunges this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#fetch(javax.mail.Message[], javax.mail.FetchProfile)">fetch</A></B>(javax.mail.Message[] articles,
|
|
javax.mail.FetchProfile fetchprofile)</CODE>
|
|
|
|
<BR>
|
|
Does nothing.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Folder</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getFolder(java.lang.String)">getFolder</A></B>(java.lang.String s)</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't contain subfolders.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getFullName()">getFullName</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the full name of this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Message</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getMessage(int)">getMessage</A></B>(int msgnum)</CODE>
|
|
|
|
<BR>
|
|
Returns the specified article in this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getMessageCount()">getMessageCount</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the number of articles in this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Message[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getMessages()">getMessages</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the articles in this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getName()">getName</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the name of this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Folder</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getParent()">getParent</A></B>()</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't have parents.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Flags</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getPermanentFlags()">getPermanentFlags</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the permanent flags for this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> char</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getSeparator()">getSeparator</A></B>()</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't contain subfolders.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#getType()">getType</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the type of this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#hasNewMessages()">hasNewMessages</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Indicates whether this folder contains any new articles.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#isOpen()">isOpen</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Indicates whether this folder is open.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#isSubscribed()">isSubscribed</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Indicates whether this folder is subscribed.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> javax.mail.Folder[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#list(java.lang.String)">list</A></B>(java.lang.String s)</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't contain subfolders.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#open(int)">open</A></B>(int mode)</CODE>
|
|
|
|
<BR>
|
|
Opens this folder.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../dog/mail/nntp/Newsgroup.html#renameTo(javax.mail.Folder)">renameTo</A></B>(javax.mail.Folder folder)</CODE>
|
|
|
|
<BR>
|
|
NNTP folders can't be created, deleted, or renamed.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_javax.mail.Folder"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
|
|
<TD><B>Methods inherited from class javax.mail.Folder</B></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD><CODE>addConnectionListener,
|
|
addFolderListener,
|
|
addMessageChangedListener,
|
|
addMessageCountListener,
|
|
copyMessages,
|
|
finalize,
|
|
getMessages,
|
|
getMessages,
|
|
getMode,
|
|
getNewMessageCount,
|
|
getStore,
|
|
getUnreadMessageCount,
|
|
getURLName,
|
|
list,
|
|
listSubscribed,
|
|
listSubscribed,
|
|
notifyConnectionListeners,
|
|
notifyFolderListeners,
|
|
notifyFolderRenamedListeners,
|
|
notifyMessageAddedListeners,
|
|
notifyMessageChangedListeners,
|
|
notifyMessageRemovedListeners,
|
|
removeConnectionListener,
|
|
removeFolderListener,
|
|
removeMessageChangedListener,
|
|
removeMessageCountListener,
|
|
search,
|
|
search,
|
|
setFlags,
|
|
setFlags,
|
|
setFlags,
|
|
setSubscribed,
|
|
toString</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
|
|
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" ID="TableRowColor">
|
|
<TD><CODE>clone,
|
|
equals,
|
|
getClass,
|
|
hashCode,
|
|
notify,
|
|
notifyAll,
|
|
wait,
|
|
wait,
|
|
wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Newsgroup(javax.mail.Store, java.lang.String)"><!-- --></A><H3>
|
|
Newsgroup</H3>
|
|
<PRE>
|
|
protected <B>Newsgroup</B>(javax.mail.Store store,
|
|
java.lang.String name)</PRE>
|
|
<DL>
|
|
<DD>Constructor.</DL>
|
|
<HR>
|
|
|
|
<A NAME="Newsgroup(javax.mail.Store, java.lang.String, int, int, int)"><!-- --></A><H3>
|
|
Newsgroup</H3>
|
|
<PRE>
|
|
protected <B>Newsgroup</B>(javax.mail.Store store,
|
|
java.lang.String name,
|
|
int count,
|
|
int first,
|
|
int last)</PRE>
|
|
<DL>
|
|
<DD>Constructor.</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
|
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="getName()"><!-- --></A><H3>
|
|
getName</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getName</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the name of this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getName in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFullName()"><!-- --></A><H3>
|
|
getFullName</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getFullName</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the full name of this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getFullName in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getType()"><!-- --></A><H3>
|
|
getType</H3>
|
|
<PRE>
|
|
public int <B>getType</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Returns the type of this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getType in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="exists()"><!-- --></A><H3>
|
|
exists</H3>
|
|
<PRE>
|
|
public boolean <B>exists</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Indicates whether this folder exists.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>exists in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="hasNewMessages()"><!-- --></A><H3>
|
|
hasNewMessages</H3>
|
|
<PRE>
|
|
public boolean <B>hasNewMessages</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Indicates whether this folder contains any new articles.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>hasNewMessages in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="open(int)"><!-- --></A><H3>
|
|
open</H3>
|
|
<PRE>
|
|
public void <B>open</B>(int mode)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Opens this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>open in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="close(boolean)"><!-- --></A><H3>
|
|
close</H3>
|
|
<PRE>
|
|
public void <B>close</B>(boolean expunge)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Closes this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>close in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="expunge()"><!-- --></A><H3>
|
|
expunge</H3>
|
|
<PRE>
|
|
public javax.mail.Message[] <B>expunge</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Expunges this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>expunge in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isOpen()"><!-- --></A><H3>
|
|
isOpen</H3>
|
|
<PRE>
|
|
public boolean <B>isOpen</B>()</PRE>
|
|
<DL>
|
|
<DD>Indicates whether this folder is open.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>isOpen in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isSubscribed()"><!-- --></A><H3>
|
|
isSubscribed</H3>
|
|
<PRE>
|
|
public boolean <B>isSubscribed</B>()</PRE>
|
|
<DL>
|
|
<DD>Indicates whether this folder is subscribed.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>isSubscribed in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPermanentFlags()"><!-- --></A><H3>
|
|
getPermanentFlags</H3>
|
|
<PRE>
|
|
public javax.mail.Flags <B>getPermanentFlags</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the permanent flags for this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getPermanentFlags in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMessageCount()"><!-- --></A><H3>
|
|
getMessageCount</H3>
|
|
<PRE>
|
|
public int <B>getMessageCount</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Returns the number of articles in this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getMessageCount in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMessages()"><!-- --></A><H3>
|
|
getMessages</H3>
|
|
<PRE>
|
|
public javax.mail.Message[] <B>getMessages</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Returns the articles in this folder.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getMessages in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMessage(int)"><!-- --></A><H3>
|
|
getMessage</H3>
|
|
<PRE>
|
|
public javax.mail.Message <B>getMessage</B>(int msgnum)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Returns the specified article in this folder.
|
|
Since NNTP articles are not stored in sequential order,
|
|
the effect is just to reference articles returned by getMessages().<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getMessage in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="appendMessages(javax.mail.Message[])"><!-- --></A><H3>
|
|
appendMessages</H3>
|
|
<PRE>
|
|
public void <B>appendMessages</B>(javax.mail.Message[] articles)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders are read-only.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>appendMessages in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="fetch(javax.mail.Message[], javax.mail.FetchProfile)"><!-- --></A><H3>
|
|
fetch</H3>
|
|
<PRE>
|
|
public void <B>fetch</B>(javax.mail.Message[] articles,
|
|
javax.mail.FetchProfile fetchprofile)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>Does nothing.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>fetch in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getParent()"><!-- --></A><H3>
|
|
getParent</H3>
|
|
<PRE>
|
|
public javax.mail.Folder <B>getParent</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't have parents.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getParent in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="list(java.lang.String)"><!-- --></A><H3>
|
|
list</H3>
|
|
<PRE>
|
|
public javax.mail.Folder[] <B>list</B>(java.lang.String s)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't contain subfolders.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>list in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getFolder(java.lang.String)"><!-- --></A><H3>
|
|
getFolder</H3>
|
|
<PRE>
|
|
public javax.mail.Folder <B>getFolder</B>(java.lang.String s)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't contain subfolders.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getFolder in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSeparator()"><!-- --></A><H3>
|
|
getSeparator</H3>
|
|
<PRE>
|
|
public char <B>getSeparator</B>()
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't contain subfolders.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>getSeparator in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="create(int)"><!-- --></A><H3>
|
|
create</H3>
|
|
<PRE>
|
|
public boolean <B>create</B>(int i)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't be created, deleted, or renamed.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>create in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="delete(boolean)"><!-- --></A><H3>
|
|
delete</H3>
|
|
<PRE>
|
|
public boolean <B>delete</B>(boolean flag)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't be created, deleted, or renamed.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>delete in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="renameTo(javax.mail.Folder)"><!-- --></A><H3>
|
|
renameTo</H3>
|
|
<PRE>
|
|
public boolean <B>renameTo</B>(javax.mail.Folder folder)
|
|
throws javax.mail.MessagingException</PRE>
|
|
<DL>
|
|
<DD>NNTP folders can't be created, deleted, or renamed.<DD><DL>
|
|
<DT><B>Overrides:</B><DD>renameTo in class javax.mail.Folder</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
<!-- ========== START OF NAVBAR ========== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../dog/mail/nntp/Article.html"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../dog/mail/nntp/NNTPStore.html"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
|
<A HREF="Newsgroup.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_javax.mail.Folder">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- =========== END OF NAVBAR =========== -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|