JavaScript is disabled on your browser.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
gnu.inet.nntp

Interface Newsrc

  • All Known Implementing Classes:
    FileNewsrc


    public interface Newsrc
    Interface for a .newsrc configuration.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void close ()
      Closes the configuration, potentially saving any changes.
      boolean isSeen (java.lang.String newsgroup, int article)
      Indicates whether an article is marked as seen in the specified newsgroup.
      boolean isSubscribed (java.lang.String newsgroup)
      Indicates whether a newsgroup is subscribed in this newsrc.
      java.util.Iterator list ()
      Returns an iterator over the names of the subscribed newsgroups.
      void setSeen (java.lang.String newsgroup, int article, boolean seen)
      Sets whether an article is marked as seen in the specified newsgroup.
      void setSubscribed (java.lang.String newsgroup, boolean subs)
      Sets whether a newsgroup is subscribed in this newsrc.
    • Method Detail

      • list

        java.util.Iterator list()
        Returns an iterator over the names of the subscribed newsgroups. Each item returned is a String.
      • isSubscribed

        boolean isSubscribed(java.lang.String newsgroup)
        Indicates whether a newsgroup is subscribed in this newsrc.
      • setSubscribed

        void setSubscribed(java.lang.String newsgroup,
         boolean subs)
        Sets whether a newsgroup is subscribed in this newsrc.
      • isSeen

        boolean isSeen(java.lang.String newsgroup,
         int article)
        Indicates whether an article is marked as seen in the specified newsgroup.
      • setSeen

        void setSeen(java.lang.String newsgroup,
         int article,
         boolean seen)
        Sets whether an article is marked as seen in the specified newsgroup.
      • close

        void close()
        Closes the configuration, potentially saving any changes.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /