Class Config

  extended by ch.claudio.pediacache.Config

public class Config
extends java.lang.Object

Collects constants like database path and URL which can be modified if needed.

$Id: 163 2006-11-12 11:10:11Z claudio $
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Field Summary
static cacheURL
          URL prefix for all cache pages.
static cssURL
          URL prefix for style sheet.
static java.lang.String dbname
          Name of the database file.
static listPage
          Place where to look for wikipedia sites.
static preferenceURL
          URL prefix for preferences page.
static serverURL
          Base URL of the PediaCache server.
Constructor Summary
Method Summary
static void main(java.lang.String[] args)
          Print license.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final java.lang.String dbname
Name of the database file. This one is stored in /var/tmp and not user.home, as it is a cache and thus I do not want in my backup.


public static final serverURL
Base URL of the PediaCache server.


public static final cacheURL
URL prefix for all cache pages.


public static final cssURL
URL prefix for style sheet.


public static final preferenceURL
URL prefix for preferences page.


public static final listPage
Place where to look for wikipedia sites.

Constructor Detail


public Config()
Method Detail


public static void main(java.lang.String[] args)
Print license.

args - ignored