Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 161 for Turing (0.45 sec)

  1. src/main/java/org/codelibs/core/beans/converter/SqlDateConverter.java

        /**
         * 日付のパターンです。
         */
        protected String pattern;
    
        /**
         * インスタンスを構築します。
         *
         * @param pattern
         *            日付のパターン
         */
        public SqlDateConverter(final String pattern) {
            assertArgumentNotEmpty("pattern", pattern);
            this.pattern = pattern;
        }
    
        @Override
        public Object getAsObject(final String value) {
            if (StringUtil.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)
  2. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java

        /**
         * 日時のパターンです。
         */
        protected String pattern;
    
        /**
         * インスタンスを構築します。
         *
         * @param pattern
         *            日時のパターン
         */
        public TimestampConverter(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)
  3. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

         */
        @Test
        public void testForEachFile() throws Exception {
            final File rootDir = ResourceUtil.getBuildDir(getClass());
            final String path = ResourceUtil.getResourcePath(getClass());
            final int pos = path.lastIndexOf("/");
            final String baseDirectory = path.substring(0, pos);
            ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
                try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            assertThat(properties.getProperty("a"), is("A"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#store(Properties, File, String, String)}
         * .
         *
         * @throws IOException
         */
        @Test
        public void testStorePropertiesFileStringString() throws IOException {
            final Properties outProperties = new Properties();
    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)
  5. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

     *
     */
    public class MethodNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3508955801981550317L;
    
        private final Class<?> targetClass;
    
        private final String methodName;
    
        private final Class<?>[] methodArgClasses;
    
        /**
         * {@link MethodNotFoundRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
         * @param methodName
    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)
  6. src/main/java/org/codelibs/core/io/ReaderUtil.java

         *            読み込み文字ストリーム。{@literal null}であってはいけません
         * @return テキスト
         */
        public static String readText(final Reader reader) {
            assertArgumentNotNull("reader", reader);
    
            final StringBuilder buf = new StringBuilder(BUF_SIZE);
            CopyUtil.copy(reader, buf);
            return new String(buf);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

         */
        @Test
        public void testConvertMap() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null);
            final Map<String, String> map = ResourceBundleUtil.convertMap(bundle);
            final String value = map.get("ECL0001");
            System.out.println(value);
            assertThat(value, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    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)
  8. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

        private static final long serialVersionUID = 1L;
    
        private final String propertyName;
    
        private final Object value;
    
        /**
         * インスタンスを構築します。
         *
         * @param propertyName
         *            プロパティ名
         * @param value
         *            値
         * @param cause
         *            原因
         */
        public ConverterRuntimeException(final String propertyName, final Object value, final Throwable cause) {
    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)
  9. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         */
        public static Locale getLocale(final String localeStr) {
            // TODO replace with Fess
            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
    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)
  10. src/main/java/org/codelibs/core/exception/IllegalPropertyRuntimeException.java

        private final String propertyName;
    
        /**
         * {@link IllegalPropertyRuntimeException}を作成します。
         *
         * @param targetClass
         *            ターゲットクラス
         * @param propertyName
         *            プロパティ名
         * @param cause
         *            原因となった例外
         */
        public IllegalPropertyRuntimeException(final Class<?> targetClass, final String propertyName, final Throwable cause) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top