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. |
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 |
{ |
{ |
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; |
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 |
} |
} |
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 |
|
|