<commit_before>/**
 * Copyright (C) 2003-2012 <NAME>, <NAME>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * A copy of the GNU Lesser General Public License may also be found at
 * http://www.gnu.org/licenses/lgpl.txt
 */
package org.synchronoss.cpo.util;

import org.synchronoss.cpo.core.cpoCoreMeta.StFunctionGroupType;

import java.io.File;

public class Statics {

  // CpoUtil config files
  public static final String CPOUTIL_CONFIG_DIRNAME = ".cpoutil";
  public static final File CPOUTIL_CONFIG_DIR = new File(System.getProperties().getProperty("user.home") + File.separator + CPOUTIL_CONFIG_DIRNAME);
  public static final String CPOUTIL_CONFIG_FILE = "CpoUtilConfig.xml";
  public static final String CPOUTIL_PROPERTIES_FILE = "cpoutil.properties";
  public static final String PROTECTED_CLASS_FILE = "protectedClasses.properties";

  public static final String BOOTSTRAP_URL_PROP = "cpoutil.bootstrapUrl";
  public static final String PROTECTED_CLASS_PROP = "cpoutil.protectedClasses";

  public static final String CPOUTIL_TITLE = "cpoutil.title";
  public static final String CPOUTIL_VERSION = "cpoutil.version";
  public static final String CPOUTIL_MINIMUM_VERSION = "cpoutil.minimumVersion";
  public static final String CPOUTIL_AUTHOR = "cpoutil.author";
  public static final String CPOUTIL_COPYRIGHT = "cpoutil.copyright";
  public static final String CPOUTIL_COMPANY = "cpoutil.company";

  public static final String PROP_WLSURL = "cpoutil.wls.url.";
  public static final String PROP_WLSUSER = "cpoutil.wls.user.";
  public static final String PROP_WLSPASS = "cpoutil.wls.pass.";
  public static final String PROP_WLSCONNPOOL = "cpoutil.wls.connpool.";
  public static final String PROP_WLSINITCTXFCTRY = "cpoutil.wls.initialcontextfactory.";
  public static final String PROP_CPONAME = "cpoutil.wls.cponame.";

  public static final String PROP_JDBC_URL = "cpoutil.jdbc.url.";
  public static final String PROP_JDBC_DRIVER = "cpoutil.jdbc.driver.";
  public static final String PROP_JDBC_PARAMS = "cpoutil.jdbc.params.";

  public static final String LOAD_JDBC_URL = "cpoutil.jdbc.url";
  public static final String LOAD_JDBC_DRIVER = "cpoutil.jdbc.driver";
  public static final String LOAD_JDBC_PARAMS = "cpoutil.jdbc.params";

  public static final String LPROP_CLASSPATH = "cpoutil.classpath";

  public static final String CPO_TYPE_CREATE = StFunctionGroupType.CREATE.toString();
  public static final String CPO_TYPE_DELETE = StFunctionGroupType.DELETE.toString();
  public static final String CPO_TYPE_EXECUTE = StFunctionGroupType.EXECUTE.toString();
  public static final String CPO_TYPE_EXIST = StFunctionGroupType.EXIST.toString();
  public static final String CPO_TYPE_LIST = StFunctionGroupType.LIST.toString();
  public static final String CPO_TYPE_RETRIEVE = StFunctionGroupType.RETRIEVE.toString();
  public static final String CPO_TYPE_UPDATE = StFunctionGroupType.UPDATE.toString();
}<commit_msg>cleanup<commit_after>/**
 * Copyright (C) 2003-2012 <NAME>, <NAME>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * A copy of the GNU Lesser General Public License may also be found at
 * http://www.gnu.org/licenses/lgpl.txt
 */
package org.synchronoss.cpo.util;

import org.synchronoss.cpo.core.cpoCoreMeta.StFunctionGroupType;

import java.io.File;

public class Statics {

  // CpoUtil config files
  public static final String CPOUTIL_CONFIG_DIRNAME = ".cpoutil";
  public static final File CPOUTIL_CONFIG_DIR = new File(System.getProperties().getProperty("user.home"), CPOUTIL_CONFIG_DIRNAME);
  public static final String CPOUTIL_CONFIG_FILE = "CpoUtilConfig.xml";
  public static final String CPOUTIL_PROPERTIES_FILE = "cpoutil.properties";

  public static final String BOOTSTRAP_URL_PROP = "cpoutil.bootstrapUrl";
  public static final String PROTECTED_CLASS_PROP = "cpoutil.protectedClasses";

  public static final String CPOUTIL_TITLE = "cpoutil.title";
  public static final String CPOUTIL_VERSION = "cpoutil.version";
  public static final String CPOUTIL_MINIMUM_VERSION = "cpoutil.minimumVersion";
  public static final String CPOUTIL_AUTHOR = "cpoutil.author";
  public static final String CPOUTIL_COPYRIGHT = "cpoutil.copyright";
  public static final String CPOUTIL_COMPANY = "cpoutil.company";

  public static final String CPO_TYPE_CREATE = StFunctionGroupType.CREATE.toString();
  public static final String CPO_TYPE_DELETE = StFunctionGroupType.DELETE.toString();
  public static final String CPO_TYPE_EXECUTE = StFunctionGroupType.EXECUTE.toString();
  public static final String CPO_TYPE_EXIST = StFunctionGroupType.EXIST.toString();
  public static final String CPO_TYPE_LIST = StFunctionGroupType.LIST.toString();
  public static final String CPO_TYPE_RETRIEVE = StFunctionGroupType.RETRIEVE.toString();
  public static final String CPO_TYPE_UPDATE = StFunctionGroupType.UPDATE.toString();
}
{'fraction_non_alphanumeric': 0.07592710997442455, 'fraction_numerical': 0.006713554987212276, 'mean_word_length': 5.062984496124031, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5558037', 'n_tokens_mistral': 1883, 'n_tokens_neox': 1794, 'n_words': 615}