- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for PrintWriter (0.06 sec)
-
src/main/java/org/codelibs/fess/api/BaseApiManager.java
} buf.append(enc); final HttpServletResponse response = LaResponseUtil.getResponse(); 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); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
} private String getStackTrace(final Throwable t) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) { t.printStackTrace(pw); pw.flush(); return systemHelper.abbreviateLongText(sw.toString()); } catch (final IOException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 24 01:20:42 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
} // Package protected for test static String toMessage(String modelId, List<ModelProblem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective model");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java
PrintWriter pWriter = new PrintWriter(sWriter); error.printStackTrace(pWriter); System.out.println("[" + prefix + "] " + sWriter.toString()); } private void print(String prefix, CharSequence content, Throwable error) { StringWriter sWriter = new StringWriter(); PrintWriter pWriter = new PrintWriter(sWriter);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java
*/ public class ProtoLogger implements Logger { private final PrintWriter out; private final PrintWriter err; public ProtoLogger() { this(null, null); } public ProtoLogger(@Nullable OutputStream out, @Nullable OutputStream err) { this.out = new PrintWriter(toPsOrDef(out, System.out), true); this.err = new PrintWriter(toPsOrDef(err, System.err), true); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
protected final MessageBuilderFactory messageBuilderFactory; protected final PrintWriter out; protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintStream out) { this(messageBuilderFactory, new PrintWriter(out)); } protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintWriter out) { this.messageBuilderFactory = messageBuilderFactory;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
public List<Problem> getProblems() { return problems; } private static String toMessage(List<Problem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective toolchains");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiResponse.java
public WebApiResponse(final HttpServletResponse response) { super(response); } @Override public PrintWriter getWriter() throws IOException { // dummy stream return new PrintWriter(new ByteArrayOutputStream()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.2K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
* Emits warning messages if deprecated options are used. * * @param printWriter the string consumer to use for output */ default void warnAboutDeprecatedOptions(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter) {} /** * Displays help information for these options. * * @param printWriter the string consumer to use for output */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 22 14:53:58 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
sb.append(cause.getClass().getName()); } else { sb.append(cause.getMessage()); } try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) { cause.printStackTrace(pw); pw.flush(); sb.append(" [ ").append(sw.toString()).append(" ]"); } catch (final IOException ignore) {}
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0)