- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for printWriter (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
assertNull(response.get("message")); } @Test public void test_sendSseEvent_basic() { final StringWriter stringWriter = new StringWriter(); final PrintWriter writer = new PrintWriter(stringWriter); chatApiManager.sendSseEvent(writer, "test", Map.of("key", "value")); final String output = stringWriter.toString(); assertTrue(output.contains("event: test"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratorTask.kt
} else { emptyList() } markdownFile.bufferedWriter().use { PrintWriter(it).run { for (line in head) { println(line) } graph(elements.get()) } } } private fun PrintWriter.graph(elements: List<ArchitectureElement>) { println( """ $markerCommentCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// Check that we can find a resource if it is visible to the context class // loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
}); reportErrors(errors, getReportFile().get().getAsFile()); } private void reportErrors(Map<File, List<Error>> errors, File reportFile) { try (PrintWriter fw = new PrintWriter(new FileWriter(reportFile))) { writeHeader(fw); if (errors.isEmpty()) { fw.println("All clear!"); return; }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 23:22:57 GMT 2026 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
// Check that we can find a resource if it is visible to the context class // loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
assertEquals("test", o2); } @Test public void testLoadSave() throws IOException { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); pw.println("# "); pw.println("# The Main "); pw.println("# "); pw.println("# Comment "); pw.println("# "); pw.println("");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.api.chat; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import org.apache.logging.log4j.LogManager;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
private int status = 200; private final Map<String, String> headers = new HashMap<>(); private final StringWriter stringWriter = new StringWriter(); private final PrintWriter writer = new PrintWriter(stringWriter); @Override public void setStatus(int sc) { this.status = sc; } @Override public int getStatus() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java
private String contentType = null; private final Map<String, String> headers = new HashMap<>(); private final StringWriter stringWriter = new StringWriter(); private final PrintWriter writer = new PrintWriter(stringWriter); @Override public void setStatus(int sc) { this.status = sc; } @Override public int getStatus() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 33.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
buf.append(t.getClass().getName()); } else { buf.append(t.getMessage()); } try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) { t.printStackTrace(pw); pw.flush(); buf.append(" [ ").append(sw.toString()).append(" ]"); } catch (final IOException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 27 13:56:32 GMT 2026 - 55.4K bytes - Click Count (1)