Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for private (0.14 sec)

  1. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

    import org.codelibs.core.exception.SQLRuntimeException;
    import org.codelibs.core.log.Logger;
    
    /**
     * {@link ResultSet}のためのユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class ResultSetUtil {
    
        private static final Logger logger = Logger.getLogger(ResultSetUtil.class);
    
        /**
         * 結果セットを閉じます。
         * <p>
         * {@link ResultSet#close()}が例外をスローした場合はログにエラーメッセージを出力します。 例外は再スローされません。
         * </p>
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/SerializeUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * オブジェクトをシリアライズするためのユーティリティです。
     *
     * @author higa
     */
    public abstract class SerializeUtil {
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * オブジェクトをシリアライズできるかテストします。
         *
         * @param obj
         *            シリアライズ対象のオブジェクト。{@literal null}であってはいけません
         * @return シリアライズして復元したオブジェクト
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

    import java.math.BigDecimal;
    import java.math.BigInteger;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     *
     */
    public class BigDecimalConversionUtilTest extends TestCase {
        private static final BigDecimal ZERO = new BigDecimal("0");
    
        /**
         * @throws Exception
         */
        public void testToBigDecimal() throws Exception {
            assertNull(BigDecimalConversionUtil.toBigDecimal(null));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/Indexed.java

    /**
     * {@link IndexedIterator}でイテレートする要素です。
     *
     * @author wyukawa
     * @param <T>
     *            要素の型
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** 要素 */
        private final T element;
    
        /** 要素のインデックス */
        private final int index;
    
        /**
         * コンストラクタ
         *
         * @param element
         *            要素
         * @param index
         *            要素のインデックス
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

    import org.codelibs.core.log.Logger;
    import org.xml.sax.SAXException;
    
    /**
     * {@link SchemaFactory}のためのユーティリティ・クラスです。
     *
     * @author koichik
     */
    public abstract class SchemaFactoryUtil {
    
        private static final Logger logger = Logger.getLogger(SchemaFactoryUtil.class);
    
        /**
         * W3C XML Schemaのための{@link SchemaFactory}を生成します。
         *
         * @return W3C XML Schemaのための{@link SchemaFactory}
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class DisposableUtilTest {
    
        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

                }
                return new Float(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return new Float(DecimalFormatUtil.normalize(s));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ReaderUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link Reader}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class ReaderUtil {
    
        /** デフォルトのバッファサイズ */
        private static final int BUF_SIZE = 4096;
    
        /**
         * 指定のエンコーディングでファイルから入力する{@link Reader}を作成します。
         *
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @param encoding
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Short.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top