Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Print (0.13 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        }
                    }
                    buf.append('}');
                    buf.append('\n');
                    try {
                        response.getWriter().print(buf.toString());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                    return true;
                }, OptionalThing.empty());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to print a thread dump.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToPrintThreadDump(GLOBAL), this::asListHtml);
                }
            }).orElse(() -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top