001/*
002 * Copyright (c) 2009 The openGion Project.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013 * either express or implied. See the License for the specific language
014 * governing permissions and limitations under the License.
015 */
016package org.opengion.fukurou.util;
017
018/**
019 * 共通的に使用される固定値を集約したクラスです。
020 *
021 * 全変数は、public static final 宣言されています。
022 *
023 * @og.rev 6.1.0.0 (2014/12/26) 固定値を集約したクラス対応
024 * @og.group その他
025 *
026 * @version  6.0
027 * @author       Kazuhiko Hasegawa
028 * @since    JDK8.0,
029 */
030public final class HybsConst {
031
032        /** バッファの初期容量を設定する固定値(通常より若干多い目)。  {@value}  */
033        public static final int BUFFER_SMALL  = 100;
034
035        /** バッファの初期容量を設定する固定値(通常より多い目)。  {@value}  */
036        public static final int BUFFER_MIDDLE = 200;
037
038        /** バッファの初期容量を設定する固定値(通常より大幅に多い目)。  {@value} */
039        public static final int BUFFER_LARGE  = 500;
040
041        /** システム依存の改行記号(String)。        */
042        public static final String CR = System.getProperty("line.separator");
043
044        /** HTMLでの改行記号( <br /> )。 */
045        public static final String BR = "<br />" + CR ;
046
047        /** システム依存のファイルセパレーター文字(char)。  */
048        public static final char FS = System.getProperty("file.separator").charAt(0);
049
050        /** タブ文字(char)。 */
051        public static final char TAB = '\t';
052
053        /**
054         * デフォルトコンストラクターをprivateにして、
055         * オブジェクトの生成をさせないようにする。
056         */
057        private HybsConst() {}
058}