Typo: inspect_jpegs, not inspect-jpegs in form
[privoxy.git] / src / java / org / privoxy / activityconsole / ColumnRef.java
1 /*********************************************************************
2  *
3  * File        :  $Source$
4  *
5  * Purpose     :  Provides a mapping between a column's key and its
6  *                description.
7  *
8  * Copyright   :  Written by and Copyright (C) 2003 the SourceForge
9  *                Privoxy team. http://www.privoxy.org/
10  *
11  *                Based on the Internet Junkbuster originally written
12  *                by and Copyright (C) 1997 Anonymous Coders and
13  *                Junkbusters Corporation.  http://www.junkbusters.com
14  *
15  *                This program is free software; you can redistribute it
16  *                and/or modify it under the terms of the GNU General
17  *                Public License as published by the Free Software
18  *                Foundation; either version 2 of the License, or (at
19  *                your option) any later version.
20  *
21  *                This program is distributed in the hope that it will
22  *                be useful, but WITHOUT ANY WARRANTY; without even the
23  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
24  *                PARTICULAR PURPOSE.  See the GNU General Public
25  *                License for more details.
26  *
27  *                The GNU General Public License should be included with
28  *                this file.  If not, you can view it at
29  *                http://www.gnu.org/copyleft/gpl.html
30  *                or write to the Free Software Foundation, Inc., 59
31  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  *
33  * Revisions   :
34  *    $Log$
35  *********************************************************************/
36
37 package org.privoxy.activityconsole;
38
39 /** 
40  * Provides a mapping between a column's key and its description.
41  * @author Last Modified By: $Author$
42  * @version $Rev$-$Date$$State$
43  */
44 public class ColumnRef
45 {
46   private static final String
47     COPYRIGHT = org.privoxy.activityconsole.Copyright.COPYRIGHT;
48
49   int _key = -1;
50   String _description = "";
51
52   public ColumnRef(String description, int key)
53   {
54     _description = description;
55     _key = key;
56   }
57
58   public String getDescription()
59   {
60     return _description;
61   }
62
63   public int getKey()
64   {
65     return _key;
66   }
67 }