ch.claudio.pediacache
Class Config

java.lang.Object
  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.

Version:
$Id: Config.java 163 2006-11-12 11:10:11Z claudio $
Author:
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <private@claudio.ch>, 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 java.net.URL cacheURL
          URL prefix for all cache pages.
static java.net.URL cssURL
          URL prefix for style sheet.
static java.lang.String dbname
          Name of the database file.
static java.net.URL listPage
          Place where to look for wikipedia sites.
static java.net.URL preferenceURL
          URL prefix for preferences page.
static java.net.URL serverURL
          Base URL of the PediaCache server.
 
Constructor Summary
Config()
           
 
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

dbname

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.


serverURL

public static final java.net.URL serverURL
Base URL of the PediaCache server.


cacheURL

public static final java.net.URL cacheURL
URL prefix for all cache pages.


cssURL

public static final java.net.URL cssURL
URL prefix for style sheet.


preferenceURL

public static final java.net.URL preferenceURL
URL prefix for preferences page.


listPage

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

Constructor Detail

Config

public Config()
Method Detail

main

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

Parameters:
args - ignored