Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 298 for converties (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            // Test init method (should do nothing)
            converter.init();
            // No exception should be thrown
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
            // Test convert with no languages specified
            String text = "test text";
            String field = "content";
    
            List<String> results = converter.convert(text, field);
    
            assertNotNull(results);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

         */
        protected DoubleConversionUtil() {
        }
    
        /**
         * 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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/handling-errors.md

    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Consejo
    
    Cuando lanzas un `HTTPException`, puedes pasar cualquier valor que pueda convertirse a JSON como el parámetro `detail`, no solo `str`.
    
    Podrías pasar un `dict`, un `list`, etc.
    
    Son manejados automáticamente por **FastAPI** y convertidos a JSON.
    
    ///
    
    ## Agrega headers personalizados
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | Dica
    
    Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
    Você pode passar um `dict` ou um `list`, etc.
    Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    ///
    
    ## Adicione headers customizados
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            final Date result = (Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimeConverter converter = new TimeConverter("HH:mm:ss");
            final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("12:34:56"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

         */
        protected ByteConversionUtil() {
        }
    
        /**
         * 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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
            final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/12/31 12:34:56"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top