Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 32 for formatter (0.04 seconds)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                }
    
                final long time = Joda.forPattern(format).parseMillis(value);
                return new Date(time);
            } catch (final Exception e) {
                return null;
            }
        }
    
        /**
         * Formats a Date object to ISO datetime string format in UTC timezone.
         *
         * @param date the date to format
         * @return formatted date string, or empty string if date is null
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  2. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        public void setAppendHighlightParams(final String appendHighlightParams) {
            this.appendHighlightParams = appendHighlightParams;
        }
    
        /**
         * Sets the formatted execution time for the search request.
         *
         * @param execTime The formatted execution time string
         */
        public void setExecTime(final String execTime) {
            this.execTime = execTime;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/fe.tld

        <example>
          ${fe:parseDate(doc.tstamp, "yyyy-MM-dd HH:mm:ss")}
        </example>
      </function>
    
      <function>
        <description>
          Returns formatted duration from a given value.
        </description>
        <name>formatDuration</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 18 11:38:54 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                }
            }));
        }
    
        /**
         * Converts the discloser to a Slack message format.
         *
         * @param discloser the mail posting discloser
         * @return the formatted Slack message
         */
        protected String toSlackMessage(final SMailPostingDiscloser discloser) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"text\":\"");
            buf.append(LF);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/IndexExportFormatter.java

        /**
         * Formats a document source map into the target format string.
         *
         * @param source the document source map
         * @param excludeFields the set of field names to exclude from output
         * @return the formatted string
         */
        String format(Map<String, Object> source, Set<String> excludeFields);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

        }
    
        /**
         * Creates an EditBody from a RelatedQuery entity for API responses.
         *
         * @param entity the RelatedQuery entity to convert
         * @return EditBody containing the entity data formatted for editing
         */
        protected EditBody createEditBody(final RelatedQuery entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

        /**
         * Formats an IP address string for use in a URL.
         * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is.
         *
         * @param address the IP address string to format
         * @return the formatted address (IPv6 with brackets, IPv4 unchanged)
         */
        public static String formatForUrl(final String address) {
            if (address == null) {
                return null;
            }
            if (isIPv6Address(address)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            String result = buf.toString();
            assertTrue(result.startsWith("\"timestamp\":\""));
            assertTrue(result.endsWith("\""));
            // Verify a timestamp was properly formatted
            assertNotNull(result);
            assertTrue(result.length() > "\"timestamp\":\"\"".length());
        }
    
        // Test appendException method with simple exception
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  10. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top