Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for Hatch (0.17 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                prop.load(fis);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
            properties = prop;
        }
    
        public synchronized void store() {
            FileOutputStream fos = null;
            try {
                fos = new FileOutputStream(propertiesFile);
                properties.store(fos, propertiesFile.getName());
            } catch (final IOException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         */
        public static void registerDriver(final Driver driver) {
            assertArgumentNotNull("driver", driver);
    
            try {
                DriverManager.registerDriver(driver);
            } catch (final SQLException e) {
                throw new SQLRuntimeException(e);
            }
        }
    
        /**
         * JDBCドライバを登録解除します。
         *
         * @param driver
         *            登録解除するJDBCドライバ。{@literal null}であってはいけません
    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)
  3. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

         * @return {@link JarFile}
         */
        public static JarFile getJarFile(final JarURLConnection conn) {
            assertArgumentNotNull("conn", conn);
    
            try {
                return conn.getJarFile();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    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)
  4. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

        public Object getAsObject(final String value) {
            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayIterator.java

            return index < items.length;
        }
    
        @Override
        public T next() {
            try {
                final T o = items[index];
                index++;
                return o;
            } catch (final IndexOutOfBoundsException e) {
                throw new NoSuchElementException("index=" + index);
            }
        }
    
        @Override
        public void remove() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ResourceUtil.java

            final URL url = getResourceNoException(path, extension);
            if (url == null) {
                return null;
            }
            try {
                return url.openStream();
            } catch (final IOException e) {
                return null;
            }
        }
    
        /**
         * コンテキストクラスローダにリソースが存在するかどうかを返します。
         *
         * @param path
         *            リソースのパス。{@literal null}や空文字列であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

                final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess");
                newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
            } catch (final Throwable t) {
                // ignore
                // t.printStackTrace();
            }
        }
    
        /**
         * 文字列が<code>null</code>または空文字列なら<code>true</code>を返します。
         *
         * @param text
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/DomUtil.java

            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * 属性の値をエンコードします。
         *
         * @param s
         *            属性値
         * @return エンコードされた属性値
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         *            文字列
         * @return 変換された{@link Timestamp}
         */
        protected static Timestamp toSqlTimestampJdbcEscape(final String str) {
            try {
                return Timestamp.valueOf(str);
            } catch (final IllegalArgumentException ex) {
                return null;
            }
        }
    
        /**
         * パターン文字列を区切り文字を含まないプレーンなパターン文字列に変換して返します。
         *
         * @param pattern
         *            パターン文字列
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top