KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > bluecubs > xinco > conf > XincoConfigServer


1 /**
2  *Copyright 2004 blueCubs.com
3  *
4  *Licensed under the Apache License, Version 2.0 (the "License");
5  *you may not use this file except in compliance with the License.
6  *You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *Unless required by applicable law or agreed to in writing, software
11  *distributed under the License is distributed on an "AS IS" BASIS,
12  *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *See the License for the specific language governing permissions and
14  *limitations under the License.
15  *
16  *************************************************************
17  * This project supports the blueCubs vision of giving back
18  * to the community in exchange for free software!
19  * More information on: http://www.bluecubs.org
20  *************************************************************
21  *
22  * Name: XincoConfigServer
23  *
24  * Description: configuration class on server side
25  *
26  * Original Author: Alexander Manes
27  * Date: 2004
28  *
29  * Modifications:
30  *
31  * Who? When? What?
32  * - - -
33  *
34  *************************************************************
35  */

36
37 package com.bluecubs.xinco.conf;
38
39 public class XincoConfigServer {
40
41     /**
42      * This class contains the server configuration of xinco.
43      * Modify configuration values according to your installation.
44      * You have to compile the class after modification.
45      * For security reasons, you can delete this source file (obviously
46      * containing passwords) from your production system.
47      * The compiled XincoConfigServer.class must be left there though!
48      */

49     public XincoConfigServer() {
50
51         //==========================================
52
//Set Values according to your Installation:
53
//==========================================
54
//Host Name / IP Address of Database Server
55
DBHost = "localhost";
56         //Port of Datebase Server
57
DBPort = 3306;
58         //Name of Database
59
DBName = "xinco";
60         //User for connecting to Database
61
DBUser = "root";
62         //Password for connecting to Database
63
DBPassword = "";
64         //Full Path where xinco saves files:
65
// -> on Windows use \\ for Backslashes!!! -> end Path with \\
66
// -> on UNIX use / -> end Path with /
67
FileRepositoryPath = "C:\\Temp\\xinco\\file_repository\\";
68         //FileRepositoryPath = "/var/www/hosts/xinco.org/files/xinco_demo/file_repository/";
69
//==========================================
70

71     }
72
73     //===========================================
74
//DO NOT EDIT! -> edit values in constructor!
75
//===========================================
76
public String JavaDoc DBHost = "";
77     public int DBPort = 0;
78     public String JavaDoc DBName = "";
79     public String JavaDoc DBUser = "";
80     public String JavaDoc DBPassword = "";
81     public String JavaDoc FileRepositoryPath = "";
82     //===========================================
83

84 }
85
Popular Tags