Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 188 for string (0.17 sec)

  1. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/StatementUtil.java

         * @param sql
         *            SQL文字列。{@literal null}や空文字列であってはいけません
         * @return 実行した結果
         * @see Statement#execute(String)
         */
        public static boolean execute(final Statement statement, final String sql) {
            assertArgumentNotNull("statement", statement);
            assertArgumentNotEmpty("sql", sql);
    
            try {
                return statement.execute(sql);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/Maps.java

     * <p>
     * 本クラスをstatic importすることにより、次のように{@literal Map}のインスタンスを簡潔に初期化することができます。
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.Maps.*;
     *
     * Map&lt;String, Integer&gt; map = map("a", 1).$("b", 2).$("c", 3).$();
     * </pre>
     *
     * @author koichik
     * @param <K>
     *            {@literal Map}のキーの型
     * @param <V>
     *            {@literal Map}の値の型
     */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

                Thread.currentThread().setContextClassLoader(context);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetResources() throws Exception {
            final String name = TestCase.class.getName().replace('.', '/') + ".class";
            final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name);
            assertThat(itr, is(notNullValue()));
            final URL url = itr.next();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/FieldDesc.java

        BeanDesc getBeanDesc();
    
        /**
         * フィールドを返します。
         *
         * @return フィールド
         */
        Field getField();
    
        /**
         * フィールド名を返します。
         *
         * @return フィールド名
         */
        String getFieldName();
    
        /**
         * フィールドの型を返します。
         *
         * @param <T>
         *            フィールドの型
         * @return フィールドの型
         */
        <T> Class<T> getFieldType();
    
        /**
    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)
  6. src/main/java/org/codelibs/core/misc/Tuple4.java

         * 4番目の値を設定します。
         *
         * @param value4
         *            4番目の値
         */
        public void setValue4(final T4 value4) {
            this.value4 = value4;
        }
    
        @Override
        public String toString() {
            return "{" + value1 + ", " + value2 + ", " + value3 + ", " + value4 + "}";
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/MethodDesc.java

        BeanDesc getBeanDesc();
    
        /**
         * メソッドを返します。
         *
         * @return コンストラクタ
         */
        Method getMethod();
    
        /**
         * メソッド名を返します。
         *
         * @return メソッド名
         */
        String getMethodName();
    
        /**
         * メソッドの引数型の配列を返します。
         *
         * @return メソッドの引数型の配列
         */
        Class<?>[] getParameterTypes();
    
        /**
         * メソッドの戻り値の型を返します。
         *
         * @param <T>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/ClSQLException.java

        private final String messageCode;
    
        private final Object[] args;
    
        private final String sql;
    
        /**
         * {@link ClSQLException}を作成します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の並び
         */
        public ClSQLException(final String messageCode, final Object[] args) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @return {@link Map}
         */
        public static final Map<String, String> convertMap(final ResourceBundle bundle) {
            assertArgumentNotNull("bundle", bundle);
    
            final Map<String, String> ret = newHashMap();
            for (final Enumeration<String> e = bundle.getKeys(); e.hasMoreElements();) {
                final String key = e.nextElement();
                final String value = bundle.getString(key);
                ret.put(key, value);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

            logger.logp(Level.INFO, sourceClass, null, message);
        }
    
        @Override
        public void info(final String message, final Throwable t) {
            logger.logp(Level.INFO, sourceClass, null, message, t);
        }
    
        @Override
        public boolean isDebugEnabled() {
            return logger.isLoggable(Level.FINE);
        }
    
        @Override
        public void debug(final String message) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top