summaryrefslogtreecommitdiff
path: root/scripting/examples/java/Newsgroup/NewsGroup.java
blob: be1c404e2769f51d5af7fb6a4ad6aae9c7ccf337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.libreoffice.example.java_scripts;

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

}