- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 158 for Spring (0.16 sec)
-
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
*/ public static Byte toByte(final Object o, final String pattern) { if (o == null) { return null; } else if (o instanceof Byte) { return (Byte) o; } else if (o instanceof Number) { return ((Number) o).byteValue(); } else if (o instanceof String) { return toByte((String) o); } else if (o instanceof java.util.Date) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
*/ public void testFindFractionDelimeter() throws Exception { final String delim = NumberConversionUtil.findDecimalSeparator(Locale.JAPAN); assertEquals(".", delim); } /** * @throws Exception */ public void testFindFractionDelimeter2() throws Exception { final String delim = NumberConversionUtil.findDecimalSeparator(Locale.FRANCE); assertEquals(",", delim); }
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/beans/converter/TimeConverter.java
/** * 時間のパターンです。 */ protected String pattern; /** * インスタンスを構築します。 * * @param pattern * 時間のパターン */ public TimeConverter(final String pattern) { assertArgumentNotEmpty("pattern", pattern); this.pattern = pattern; } @Override public Object getAsObject(final String value) { if (isEmpty(value)) {
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) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url)); url = ResourceUtil.getResource("java/lang/String.class"); assertNull(ResourceUtil.getFile(url)); } private String getRoot() throws IOException { final String root = new File("/").getCanonicalPath().replace('\\', '/'); if (root.startsWith("/")) { return root; }
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/lang/AnnotationUtil.java
* @return アノテーションの要素の名前と値からなる{@link Map} */ public static Map<String, Object> getProperties(final Annotation annotation) { assertArgumentNotNull("annotation", annotation); final Map<String, Object> map = newHashMap(); final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType()); for (final String name : beanDesc.getMethodNames()) {
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) -
src/main/java/org/codelibs/core/exception/ClassNotFoundRuntimeException.java
* @param cause * 原因となった例外 */ public ClassNotFoundRuntimeException(final String className, final ClassNotFoundException cause) { super("ECL0044", asArray(cause), cause); this.className = className; } /** * クラス名を返します。 * * @return クラス名 */ public String getClassName() { return className; }
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/exception/PropertyNotFoundRuntimeException.java
private final Class<?> targetClass; private final String propertyName; /** * {@link PropertyNotFoundRuntimeException}を返します。 * * @param targetClass * ターゲットクラス * @param propertyName * プロパティ名 */ public PropertyNotFoundRuntimeException(final Class<?> targetClass, final String propertyName) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/FieldNotStaticRuntimeException.java
private final Class<?> targetClass; private final String fieldName; /** * {@link FieldNotStaticRuntimeException}を作成します。 * * @param targetClass * ターゲットクラス * @param fieldName * フィールド名 */ public FieldNotStaticRuntimeException(final Class<?> targetClass, final String fieldName) { super("ECL0099", asArray(targetClass.getName(), fieldName));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java
return (Boolean) o; } else if (o instanceof Number) { final int num = ((Number) o).intValue(); return num != 0; } else if (o instanceof String) { final String s = (String) o; if ("true".equalsIgnoreCase(s)) { return Boolean.TRUE; } else if ("false".equalsIgnoreCase(s)) { return Boolean.FALSE;
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) -
src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java
*/ public class NoSuchMethodRuntimeException extends ClRuntimeException { private static final long serialVersionUID = -5673845060079098617L; private final Class<?> targetClass; private final String methodName; private final Class<?>[] argTypes; /** * {@link NoSuchMethodRuntimeException}を作成します。 * * @param targetClass * ターゲットクラス * @param methodName
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.3K bytes - Viewed (0)