Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for printf (0.2 sec)

  1. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

                t.printStackTrace(pw);
                pw.flush();
                return systemHelper.abbreviateLongText(sw.toString());
            } catch (final IOException e) {
                logger.warn("Failed to print the stack trace {}", t.getMessage(), e);
            }
            return StringUtil.EMPTY;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

        }
    
        public void test_print() {
            activityHelper.useEcsFormat = false;
            activityHelper.print("aaa", OptionalThing.empty(), Map.of());
            assertEquals("action:AAA\tuser:-", localLogMsg.get());
    
            activityHelper.print("aaa bbb", createUser("testuser", new String[0]), Map.of("111", "222"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_unauthorized_request = "{errors.unauthorized_request}";
    
        /** The key of the message: Failed to print thread dump. */
        public static final String ERRORS_failed_to_print_thread_dump = "{errors.failed_to_print_thread_dump}";
    
        /** The key of the message: {0} is not supported. */
        public static final String ERRORS_file_is_not_supported = "{errors.file_is_not_supported}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
                }
                return new ByteArrayOutputStream();
            }
        }
    
        public static OutputStream getXContentOutputStream(final ToXContent xContent, final MediaType mediaType) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            response.setContentType(buf.toString());
            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        protected abstract void writeHeaders(final HttpServletResponse response);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

                            .filter(StringUtil::isNotBlank).orElse("-"));
            log(valueMap);
        }
    
        public void print(final String action, final OptionalThing<FessUserBean> user, final Map<String, String> params) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(iterable(reader))) {
     *     System.out.println(indexed.getIndex());
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/net/UuidUtilTest.java

         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
         */
        public void testGetResourceAsStreamNoException() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top