Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for formatter (0.09 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/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)
  7. 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)
  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/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)
Back to Top