// Path: src/main/java/com/baicai/corewith/util/PropertiesTool.java
// public class PropertiesTool {
//     public static String get(String configFile, String key) {
//     	Properties properties = new Properties();
//     		try {
// 				properties.load(PropertiesTool.class.getClassLoader().getResourceAsStream(configFile+".properties"));
// 				String value = properties.getProperty(key);
// 		        return value;			
//     		} catch (IOException e) {
// 				e.printStackTrace();
// 				return "";
// 			}
//     }
//  
//     public static void main(String[] args) throws IOException {
//         System.out.println(get("system", "tableFix"));
//     }
// }


import com.baicai.corewith.util.PropertiesTool;

package com.baicai.core;


public interface Constant {
	public static final String CHARSET = "UTF-8";
    public static final int CONCURRENT_CAPACITY_SIZE = 500;
    public static final int LOCKER_SLEEP_UNIT_TIME = 20;

    public static final int BUFFER_BYTE_SIZE = 8192;
    public static final String DOT=".";
    public static final String NULL = "null";
    public static final String SPACE = " ";
    public static final String QUOTE = "\"";
    public static int ioBufferSize = 16384;
    

// Path: src/main/java/com/baicai/corewith/util/PropertiesTool.java
// public class PropertiesTool {
//     public static String get(String configFile, String key) {
//     	Properties properties = new Properties();
//     		try {
// 				properties.load(PropertiesTool.class.getClassLoader().getResourceAsStream(configFile+".properties"));
// 				String value = properties.getProperty(key);
// 		        return value;			
//     		} catch (IOException e) {
// 				e.printStackTrace();
// 				return "";
// 			}
//     }
//  
//     public static void main(String[] args) throws IOException {
//         System.out.println(get("system", "tableFix"));
//     }
// }


// Path: src/main/java/com/baicai/core/Constant.java
import com.baicai.corewith.util.PropertiesTool;

package com.baicai.core;


public interface Constant {
	public static final String CHARSET = "UTF-8";
    public static final int CONCURRENT_CAPACITY_SIZE = 500;
    public static final int LOCKER_SLEEP_UNIT_TIME = 20;

    public static final int BUFFER_BYTE_SIZE = 8192;
    public static final String DOT=".";
    public static final String NULL = "null";
    public static final String SPACE = " ";
    public static final String QUOTE = "\"";
    public static int ioBufferSize = 16384;
    

    public static final String USER_SALT=PropertiesTool.get("system", "USER_SALT");
