1 /* Copyright (C) 2003 Internet Archive.
2 *
3 * This file is part of the Heritrix web crawler (crawler.archive.org).
4 *
5 * Heritrix is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser Public License as published by
7 * the Free Software Foundation; either version 2.1 of the License, or
8 * any later version.
9 *
10 * Heritrix is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser Public License
16 * along with Heritrix; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Created on Jul 21, 2003
20 *
21 * To change the template for this generated file go to
22 * Window>Preferences>Java>Code Generation>Code and Comments
23 */
24 package org.archive.crawler.util;
25
26 /***
27 * @author Administrator
28 *
29 * To change the template for this generated type comment go to
30 * Window>Preferences>Java>Code Generation>Code and Comments
31 */
32 public class StringIntPair {
33 private String stringValue;
34 private int intValue;
35
36 public StringIntPair(String s, int i){
37 stringValue = s;
38 intValue = i;
39 }
40
41 public int getIntValue() {
42 return intValue;
43 }
44
45 public String getStringValue() {
46 return stringValue;
47 }
48
49 /***
50 * @param i
51 */
52 public void setIntValue(int i) {
53 intValue = i;
54 }
55
56 /***
57 * @param string
58 */
59 public void setStringValue(String string) {
60 stringValue = string;
61 }
62
63 }