Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for match (0.12 sec)

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

         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * 更新を実行します。
         *
         * @param ps
         *            {@link PreparedStatement}。{@literal null}であってはいけません
    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)
  2. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to set a property.", e);
                    }
                }
            }
            try {
                factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
            } catch (final ParserConfigurationException e) {
    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)
  3. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                return zis.getNextEntry();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link ZipInputStream#reset()}の例外処理をラップするメソッドです。
         *
         * @param zis
    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)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            if (propertyType == java.util.Date.class) {
                try {
                    return TimestampConversionUtil.toDate(arg);
                } catch (final ParseRuntimeException ex) {
                    try {
                        return DateConversionUtil.toDate(arg);
                    } catch (final ParseRuntimeException ex2) {
                        return TimeConversionUtil.toDate(arg);
                    }
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.text.DecimalFormatSymbols;
    import java.util.Locale;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.text.DecimalFormatSymbolsUtil;
    
    /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.math.BigDecimal;
    import java.util.Date;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.FieldDesc;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

            assertArgumentNotNull("handler", handler);
    
            try {
                parser.parse(inputSource, handler);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link XMLReader}の基本となる実装に特定のプロパティを設定します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } catch (final IOException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ThreadUtil.java

            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
                throw new InterruptedRuntimeException(e);
            }
        }
    
        public static void sleepQuietly(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
    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)
  10. src/main/java/org/codelibs/core/lang/FieldUtil.java

            assertArgumentNotNull("field", field);
    
            try {
                field.set(target, value);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e);
            } catch (final IllegalArgumentException e) {
                final Class<?> clazz = field.getDeclaringClass();
                final Class<?> fieldClass = field.getType();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top