Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,448 for convert (0.04 sec)

  1. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ConverterTest.java

        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
        assertEquals("5", converter.reverse().convert(5));
      }
    
      // Null-passthrough violates our nullness annotations, so we don't support it under J2KT.
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

         */
        protected IntegerConversionUtil() {
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o) {
            return toInteger(o, null);
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Hexdump.java

            toHexChars(val, c, 0, size);
            return new String(c);
        }
    
        /**
         * Converts a byte array to a hexadecimal string representation.
         *
         * @param src the source byte array to convert
         * @param srcIndex the starting index in the source array
         * @param size the number of bytes to convert from the source array
         * @return a hexadecimal string representation of the byte array
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Double}
         */
        public static Double toDouble(final Object o) {
            return toDouble(o, null);
        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @param pattern
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

            }
            duplicateHostList.add(duplicateHost);
        }
    
        /**
         * Converts a URL using all configured duplicate host rules.
         * Applies each duplicate host rule in sequence to transform the URL
         * according to the configured patterns.
         *
         * @param url the URL to convert
         * @return the converted URL after applying all duplicate host rules,
         *         or null if the input URL is null
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

        }
    
        /**
         * Converts to {@link Byte}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Byte}
         */
        public static Byte toByte(final Object o) {
            return toByte(o, null);
        }
    
        /**
         * Converts to {@link Byte}.
         *
         * @param o
         *            The object to convert
         * @param pattern
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/main/assemblies/files/generate-thumbnail

      if [[ ! -f ${tmp_png_file} ]] ; then
        echo "pdftoppm does not work."
        exit 1
      fi
      convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}"
      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

            };
        }
    
        /**
         * Converts to {@literal boolean}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal boolean}
         */
        public static boolean toPrimitiveBoolean(final Object o) {
            final Boolean b = toBoolean(o);
            if (b != null) {
                return b;
            }
            return false;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top