Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for amatch (0.14 sec)

  1. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

                final ClassLoader orignal = currentThread.getContextClassLoader();
                currentThread.setContextClassLoader(CommonPoolUtil.class.getClassLoader());
                try {
                    task.run();
                } catch (final Exception e) {
                    logger.error("Uncaught exception from " + task, e);
                } finally {
                    currentThread.setContextClassLoader(orignal);
                }
            });
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            }
            try {
                if (value.getClass() == String.class) {
                    return converter.getAsObject((String) value);
                }
                return converter.getAsString(value);
            } catch (final Throwable cause) {
                throw new ConverterRuntimeException(destPropertyName, value, cause);
            }
        }
    
        /**
         * クラスに対応するコンバータを探します。
         *
         * @param clazz
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

                factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
                throw new SAXRuntimeException(e);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ReaderUtil.java

            assertArgumentNotNull("is", is);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(is, encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * プラットフォームデフォルトエンコーディングでファイルから入力する{@link Reader}を作成します。
         *
         * @param file
    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/sql/ResultSetUtil.java

         *            結果セット
         */
        public static void close(final ResultSet resultSet) {
            if (resultSet == null) {
                return;
            }
            try {
                resultSet.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * 結果セットを次に進めます。
         *
         * @param resultSet
    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)
  7. src/main/java/org/codelibs/core/io/SerializeUtil.java

                try {
                    return ois.readObject();
                } finally {
                    CloseableUtil.close(ois);
                }
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } catch (final ClassNotFoundException ex) {
                throw new ClassNotFoundRuntimeException(ex);
            }
        }
    
    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)
  8. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        /**
         * 初期コンテキストを作成して返します。
         *
         * @return 初期コンテキスト
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * 指定した環境を使用して初期コンテキストを作成して返します。
         *
         * @param env
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         */
        public static ZipFile create(final String file) {
            assertArgumentNotEmpty("file", file);
    
            try {
                return new ZipFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定されたZipファイルを読み取るための<code>ZipFile</code>を作成して返します。
         *
         * @param file
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         */
        public static final ResourceBundle getBundle(final String name) {
            assertArgumentNotEmpty("name", name);
    
            try {
                return ResourceBundle.getBundle(name);
            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
        /**
         * バンドルを返します。 見つからない場合は、<code>null</code>を返します。
         *
         * @param name
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top