Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for formatter (0.07 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. src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Formatter that outputs index documents as JSON files.
     */
    public class JsonIndexExportFormatter implements IndexExportFormatter {
    
        /**
         * Creates a new JsonIndexExportFormatter instance.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/HtmlIndexExportFormatter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Formatter that outputs index documents as HTML files.
     */
    public class HtmlIndexExportFormatter implements IndexExportFormatter {
    
        /**
         * Creates a new HtmlIndexExportFormatter instance.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. 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)
  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/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)
  8. 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)
  9. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

            // Test that the email typo fix is correct: support@@example.com -> ******@****.***
            Map<String, Object> defaultSettings = createDefaultSettings();
    
            // Verify email addresses are correctly formatted (no double @)
            String technicalEmail = (String) defaultSettings.get("onelogin.saml2.contacts.technical.email_address");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  10. 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)
Back to Top