Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for formatter (0.04 seconds)

  1. src/main/java/org/codelibs/fess/job/IndexExportJob.java

         */
        public IndexExportJob format(final String format) {
            this.formatter = createFormatter(format);
            return this;
        }
    
        /**
         * Creates a formatter for the given format name.
         *
         * @param format the format name
         * @return the formatter instance
         * @throws IllegalArgumentException if the format is null, empty, or not supported
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            final IndexExportFormatter formatter = indexExportJob.createFormatter("html");
            assertTrue(formatter instanceof HtmlIndexExportFormatter);
        }
    
        @Test
        public void test_createFormatter_json() {
            final IndexExportFormatter formatter = indexExportJob.createFormatter("json");
            assertTrue(formatter instanceof JsonIndexExportFormatter);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  3. pom.xml

    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>com.mycila</groupId>
    				<artifactId>license-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>net.revelc.code.formatter</groupId>
    				<artifactId>formatter-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>org.codelibs.maven</groupId>
    				<artifactId>yuicompressor-maven-plugin</artifactId>
    				<version>2.0.0</version>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 49.9K bytes
    - Click Count (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

         * @param maxDisplayEvents the maximum number of events to display
         * @param maxMessageLength the maximum length of each log message
         * @return the formatted details string with summary header and truncated entries
         */
        protected String formatDetails(final List<LogNotificationEvent> events, final int maxDetailsLength, final int maxDisplayEvents,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. 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());
        }
    
        @Test
        public void test_setAndGetPageSize() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  8. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

         * @return the evaluation prompt
         */
        protected String buildEvaluationPrompt(final String userMessage, final String query, final List<Map<String, Object>> searchResults) {
            // Build search results formatted text
            final int maxChars = getEvaluationDescriptionMaxChars();
            final StringBuilder searchResultsText = new StringBuilder();
            for (int i = 0; i < searchResults.size(); i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
Back to Top