- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for outputStream (0.22 sec)
-
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import org.codelibs.core.exception.IORuntimeException; /** * {@link OutputStream}用のユーティリティクラスです。 * * @author shot */ public abstract class OutputStreamUtil { /** * {@link FileOutputStream}を作成します。 * * @param file
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
originalSystemErr?.println() } fun install() { originalSystemOut = System.out originalSystemErr = System.err System.setOut(object : PrintStream(OutputStream.nullOutputStream()) {}) System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {}) } fun uninstall() { originalSystemOut.let { System.setOut(it) } originalSystemErr.let { System.setErr(it) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java
nonNull(request, "request"); Settings content = nonNull(request.getContent(), "content"); OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null) { throw new IllegalArgumentException("writer or outputStream must be non null"); } try { if (writer != null) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java
nonNull(request, "request"); Settings content = nonNull(request.getContent(), "content"); OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null) { throw new IllegalArgumentException("writer or outputStream must be non null"); } try { if (writer != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
this.path = path; return this; } public XmlWriterRequestBuilder<T> outputStream(OutputStream outputStream) { this.outputStream = outputStream; return this; } public XmlWriterRequestBuilder<T> writer(Writer writer) { this.writer = writer; return this; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 3.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
Path path = request.getPath(); OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null && path == null) { throw new IllegalArgumentException("writer, outputStream or path must be non null"); } try { if (writer != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
Model content = nonNull(request.getContent(), "content"); Path path = request.getPath(); OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null && path == null) { throw new IllegalArgumentException("writer, outputStream or path must be non null"); } try { if (writer != null) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 5.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
Model content = nonNull(request.getContent(), "content"); Path path = request.getPath(); OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null && path == null) { throw new IllegalArgumentException("writer, outputStream or path must be non null"); } try { if (writer != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
CloseableUtil.close((OutputStream) null); } /** * @throws Exception */ @Test public void testClose_noThrowIOException() throws Exception { final OutputStream out = new IOExceptionOccurOutputStream(); CloseableUtil.close(out); } private static class NotifyOutputStream extends OutputStream { private String notify_; @Override
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
PersistedToolchains content = Objects.requireNonNull(request.getContent(), "content"); OutputStream outputStream = request.getOutputStream(); Writer writer = request.getWriter(); if (writer == null && outputStream == null) { throw new IllegalArgumentException("writer or outputStream must be non null"); } try { if (writer != null) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Dec 07 20:05:02 GMT 2023 - 3.7K bytes - Viewed (0)