/* * OpenTrader Trading Platform * The solution for online trading, technical analysis and automated trading. * * Copyright (C) 2010 Andrey Pudov * Andrey Pudov <syscreat@gmail.com> * * http://opentrader.github.com/ */ /* * CDDL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2010 Andrey Pudov. All rights reserved. * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END * * * Copyright 2010 Andrey Pudov. All rights reserved. * Use is subject to license terms. * * Contributor(s): * * Portions Copyrighted 2010 Andrey Pudov. * */ package com.internal.initializer; import java.io.File; /** * @author Andrey Pudov <syscreat@gmail.com> * @version 0.00.00 * %name Properties.java * %pkg com.initializer * %date 5:01:25 PM, Sep 17, 2010 */ interface Properties { String APP_NAME = "opentrader"; String USER_DIR = System.getProperty("user.home"); String APP_DIR = USER_DIR + File.separator + "." + APP_NAME; String CONFIG_DIR = APP_DIR + File.separator + "config"; String LOG_DIR = APP_DIR + File.separator + "logs"; String ACCOUNTS_DIR = CONFIG_DIR + File.separator + "accounts"; String SERVERS_DIR = CONFIG_DIR + File.separator + "servers"; }