summaryrefslogtreecommitdiff
path: root/scripting/examples/java/Newsgroup/NewsGroup.java
blob: 714b81ec86cee94674721be6cfa775fa5b5aae8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public class NewsGroup
{

    private String hostname = "";
    private String newsgroupName = "";

    public NewsGroup( String host, String group )
    {
        hostname = host;
        newsgroupName = group;
    }

    public String getHostName()
    {
        return hostname;
    }

    public String getNewsgroupName()
    {
        return newsgroupName;
    }

}