Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 193 for Spring (0.14 sec)

  1. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java

        private static final long serialVersionUID = 9033370905740809950L;
    
        private final String path;
    
        /**
         * {@link ResourceNotFoundRuntimeException}を作成します。
         *
         * @param path
         *            リソースのパス
         */
        public ResourceNotFoundRuntimeException(final String path) {
            super("ECL0055", asArray(path));
            this.path = path;
        }
    
        /**
         * パスを返します。
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    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)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSqlDateConverter() throws Exception {
            assertThat(new CopyOptions().sqlDateConverter("yyyyMMdd").convertValue(new java.sql.Date(0), "aaa", String.class),
                    is((Object) "19700101"));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

        private final String fieldName;
    
        /**
         * {@link NoSuchFieldRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
         * @param fieldName
         *            フィールド名
         * @param cause
         *            原因となった例外
         */
        public NoSuchFieldRuntimeException(final Class<?> targetClass, final String fieldName, final Throwable cause) {
    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)
  5. src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java

        private final Class<?> targetClass;
    
        private final String methodName;
    
        /**
         * {@link MethodNotStaticRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
         * @param methodName
         *            メソッド名
         */
        public MethodNotStaticRuntimeException(final Class<?> targetClass, final String methodName) {
            super("ECL0100", asArray(targetClass.getName(), methodName));
    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)
  6. src/main/java/org/codelibs/core/stream/StreamUtil.java

            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

    /**
     * @author koichik
     *
     */
    public class SingleValueIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo");
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class Base64UtilTest extends TestCase {
    
        private static final String ORIGINAL = "how now brown cow\r\n";
    
        private static final byte[] BINARY_DATA = ORIGINAL.getBytes();
    
        private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg==";
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
    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)
  9. src/main/java/org/codelibs/core/beans/Converter.java

        /**
         * 値を文字列として返します。
         *
         * @param value
         *            値
         * @return 文字列としての値
         */
        String getAsString(Object value);
    
        /**
         * 値をオブジェクトとして返します。
         *
         * @param value
         *            値
         * @return オブジェクトとしての値
         */
        Object getAsObject(String value);
    
        /**
         * このコンバータの変換対象なら{@literal true}を返します。
         *
         * @param clazz
    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/collection/ArrayIterator.java

    /**
     * 配列を{@link Iterator}にするAdaptorです。
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T>
     *            配列の要素の型
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
    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)
Back to top