Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for Formatter (0.06 sec)

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        /**
         * Builds the complete query string from the configured parameters.
         * Combines base query, extra queries, field filters, and sort field into a single query string.
         *
         * @return the complete formatted query string
         */
        public String build() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

          "[$host]"
        } else {
          host
        }
      return if (includeDefaultPort || port != defaultPort(scheme)) {
        "$host:$port"
      } else {
        host
      }
    }
    
    /** Returns a [Locale.US] formatted [String]. */
    internal fun format(
      format: String,
      vararg args: Any,
    ): String = String.format(Locale.US, format, *args)
    
    /**
     * will also strip BOM from the source
     */
    @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertNull(searchRenderData.getExecTime());
    
            // Test with empty string
            searchRenderData.setExecTime("");
            assertEquals("", searchRenderData.getExecTime());
    
            // Test with formatted time string
            searchRenderData.setExecTime("0.123 sec");
            assertEquals("0.123 sec", searchRenderData.getExecTime());
        }
    
        public void test_setAndGetPageSize() {
            // Test with zero
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                return ConfigType.DATA;
            }
            return null;
        }
    
        /**
         * Extracts the actual ID from a config ID by removing the type prefix.
         * Config IDs are formatted as [type_prefix][actual_id], so this method
         * returns everything after the first character.
         *
         * @param configId the configuration ID to process
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

     * It handles query construction, role-based access control, boost functions, sorting, and search preferences.
     * This class serves as the central component for translating user search requests into properly formatted
     * OpenSearch queries with appropriate filters and scoring mechanisms.
     */
    public class QueryHelper {
    
        /**
         * Default constructor.
         */
        public QueryHelper() {
            // Default constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    logger.warn("Failed to access log files.", e);
                }
            }
        }
    
        /**
         * Gets host information including hostname and IP address.
         *
         * @return formatted string containing hostname and IP address
         */
        protected String getHostInfo() {
            final StringBuilder buf = new StringBuilder();
            try {
                final InetAddress ia = InetAddress.getLocalHost();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
        }
    
        /**
         * Writes the current timestamp to the crawling session information.
         * The timestamp is formatted in ISO 8601 extended format.
         *
         * @param crawlingInfoHelper helper for managing crawling session information
         * @param key the key under which to store the timestamp
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

       * such as "::c000:201".
       *
       * @param ip {@link InetAddress} to be converted to an address string
       * @return {@code String} containing the text-formatted IP address
       * @since 10.0
       */
      public static String toAddrString(InetAddress ip) {
        checkNotNull(ip);
        if (ip instanceof Inet4Address) {
          // For IPv4, Java's formatting is good enough.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        /**
         * Gets the site path for display purposes.
         * Extracts and formats the site path from document URL.
         *
         * @param docMap the document data map
         * @return the formatted site path
         */
        public Object getSitePath(final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       * such as "::c000:201".
       *
       * @param ip {@link InetAddress} to be converted to an address string
       * @return {@code String} containing the text-formatted IP address
       * @since 10.0
       */
      public static String toAddrString(InetAddress ip) {
        checkNotNull(ip);
        if (ip instanceof Inet4Address) {
          // For IPv4, Java's formatting is good enough.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top