/[classpath]/inetlib/source/gnu/inet/nntp/HeaderEntry.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/nntp/HeaderEntry.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.6 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * HeaderEntry.java
3   * Copyright (C) 2002 The free Software Foundation   * Copyright (C) 2002 The free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 42  package gnu.inet.nntp; Line 42  package gnu.inet.nntp;
42   * An item in an NNTP newsgroup single-header listing.   * An item in an NNTP newsgroup single-header listing.
43   *   *
44   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
  * @version $Revision$ $Date$  
45   */   */
46  public final class HeaderEntry  public final class HeaderEntry
47  {  {
# Line 50  public final class HeaderEntry Line 49  public final class HeaderEntry
49    String articleId;    String articleId;
50    String header;    String header;
51    
52    HeaderEntry (String articleId, String header)    HeaderEntry(String articleId, String header)
53    {    {
54      this.articleId = articleId;      this.articleId = articleId;
55      this.header = header;      this.header = header;
# Line 60  public final class HeaderEntry Line 59  public final class HeaderEntry
59     * The article ID. This is either an article number, if a number or range     * The article ID. This is either an article number, if a number or range
60     * was used in the XHDR command, or a Message-ID.     * was used in the XHDR command, or a Message-ID.
61     */     */
62    public String getArticleId ()    public String getArticleId()
63    {    {
64      return articleId;      return articleId;
65    }    }
# Line 68  public final class HeaderEntry Line 67  public final class HeaderEntry
67    /**    /**
68     * The requested header value.     * The requested header value.
69     */     */
70    public String getHeader ()    public String getHeader()
71    {    {
72      return header;      return header;
73    }    }
74        
75  }  }
76    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26