Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 326 for Converter (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        /**
         * Converts an object to the specified class type.
         * @param <T> The target type.
         * @param value The object to convert.
         * @param clazz The class type to convert to.
         * @return The converted object.
         */
        @SuppressWarnings("unchecked")
        protected <T> T convertObj(final Object value, final Class<T> clazz) {
            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

       * of @JsMethod is to make a method *callable* from JavaScript and (b) this method would not be
       * useful to call from vanilla JavaScript because it returns an instance of Class, which can't be
       * converted to a standard JavaScript type. (Contrast to something like String or boolean.) Since
       * we're not calling it from JavaScript, we suppress the warning.
       */
      @JsMethod
      @SuppressWarnings("unusable-by-js")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

        }
    
        /**
         * Creates an EditBody from a WebConfig entity.
         *
         * @param entity the web configuration entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final WebConfig entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

        }
    
        /**
         * Creates an EditBody from a LabelType entity.
         *
         * @param entity the label type entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final LabelType entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/body.md

    ...y declara su tipo como el modelo que creaste, `Item`.
    
    ## Resultados { #results }
    
    Con solo esa declaración de tipo en Python, **FastAPI** hará lo siguiente:
    
    * Leer el body del request como JSON.
    * Convertir los tipos correspondientes (si es necesario).
    * Validar los datos.
        * Si los datos son inválidos, devolverá un error claro e indicado, señalando exactamente dónde y qué fue lo incorrecto.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

        }
    
        /**
         * Creates an EditBody from a BoostDocumentRule entity for API responses.
         *
         * @param entity the BoostDocumentRule entity to convert
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final BoostDocumentRule entity) {
            final EditBody form = new EditBody();
            copyBeanToBean(entity, form, CopyOptions::excludeNull);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

        }
    
        /**
         * Converts a string into <code>application/x-www-form-urlencoded</code>
         * format using the specified encoding scheme.
         *
         * @param s
         *            The string to be converted. Must not be {@literal null} or empty.
         * @param enc
         *            The encoding scheme. Must not be {@literal null} or empty.
         * @return The string encoded in <code>application/x-www-form-urlencoded</code> format.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

        /**
         * Creates an EditBody from a StopwordsItem entity for API responses.
         *
         * @param entity the StopwordsItem entity to convert
         * @param dictId the dictionary ID
         * @return the converted EditBody object
         */
        protected EditBody createEditBody(final StopwordsItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    * An optional `q` query parameter that is a `str`.
    * A `skip` query parameter that is an `int`, with a default of `0`.
    * A `limit` query parameter that is an `int`, with a default of `100`.
    
    In both cases the data will be converted, validated, documented on the OpenAPI schema, etc.
    
    ## Use it { #use-it }
    
    Now you can declare your dependency using this class.
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    /// info
    
    Note that the `TestClient` receives data that can be converted to JSON, not Pydantic models.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top