- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 63 for match (0.19 sec)
-
src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java
assertArgumentNotNull("builder", builder); assertArgumentNotNull("is", is); try { return builder.parse(is); } catch (final SAXException e) { throw new SAXRuntimeException(e); } 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.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SchemaUtil.java
assertArgumentNotNull("factory", factory); assertArgumentNotNull("schema", schema); try { return factory.newSchema(schema); } catch (final SAXException e) { throw new SAXRuntimeException(e); } } /** * 指定の{@link SchemaFactory}を使用して{@link Schema}を作成します。 * * @param factory
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java
*/ public static JarInputStream create(final InputStream is) throws IORuntimeException { assertArgumentNotNull("is", is); try { return new JarInputStream(is); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * {@link JarInputStream#getNextJarEntry()}の例外処理をラップするメソッドです。 * * @param is
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0)