1*cd519653SAndrew Rist /************************************************************** 2*cd519653SAndrew Rist * 3*cd519653SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*cd519653SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*cd519653SAndrew Rist * distributed with this work for additional information 6*cd519653SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*cd519653SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*cd519653SAndrew Rist * "License"); you may not use this file except in compliance 9*cd519653SAndrew Rist * with the License. You may obtain a copy of the License at 10*cd519653SAndrew Rist * 11*cd519653SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*cd519653SAndrew Rist * 13*cd519653SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*cd519653SAndrew Rist * software distributed under the License is distributed on an 15*cd519653SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*cd519653SAndrew Rist * KIND, either express or implied. See the License for the 17*cd519653SAndrew Rist * specific language governing permissions and limitations 18*cd519653SAndrew Rist * under the License. 19*cd519653SAndrew Rist * 20*cd519653SAndrew Rist *************************************************************/ 21*cd519653SAndrew Rist 22cdf0e10cSrcweir public class NewsGroup 23cdf0e10cSrcweir { 24cdf0e10cSrcweir 25cdf0e10cSrcweir private String hostname = ""; 26cdf0e10cSrcweir private String newsgroupName = ""; 27cdf0e10cSrcweir NewsGroup( String host, String group )28cdf0e10cSrcweir public NewsGroup( String host, String group ) 29cdf0e10cSrcweir { 30cdf0e10cSrcweir hostname = host; 31cdf0e10cSrcweir newsgroupName = group; 32cdf0e10cSrcweir } 33cdf0e10cSrcweir getHostName()34cdf0e10cSrcweir public String getHostName() 35cdf0e10cSrcweir { 36cdf0e10cSrcweir return hostname; 37cdf0e10cSrcweir } 38cdf0e10cSrcweir getNewsgroupName()39cdf0e10cSrcweir public String getNewsgroupName() 40cdf0e10cSrcweir { 41cdf0e10cSrcweir return newsgroupName; 42cdf0e10cSrcweir } 43cdf0e10cSrcweir 44cdf0e10cSrcweir } 45