- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for OutputStream (0.12 sec)
-
guava/src/com/google/common/io/ByteSink.java
import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.charset.Charset; /** * A destination to which bytes can be written, such as a file. Unlike an {@link OutputStream}, a * {@code ByteSink} is not an open, stateful stream that can be written to and closed. Instead, it * is an immutable <i>supplier</i> of {@code OutputStream} instances. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
private final Map<String, String> systemProperties; private final Path topDirectory; private final Path rootDirectory; private final InputStream in; private final OutputStream out; private final OutputStream err; private final List<CoreExtension> coreExtensions; @SuppressWarnings("ParameterNumber") public BaseInvokerRequest( @Nonnull ParserRequest parserRequest,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 04 12:23:10 UTC 2024 - 13.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java
Path path; OutputStream outputStream; Writer writer; T content; Function<Object, String> inputLocationFormatter; public XmlWriterRequestBuilder<T> path(Path path) { this.path = path; return this; } public XmlWriterRequestBuilder<T> outputStream(OutputStream outputStream) { this.outputStream = outputStream;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Aug 10 22:21:50 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.function.Function; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.es.client.SearchEngineClient;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/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) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
write(XmlWriterRequest.<T>builder().content(content).path(path).build()); } default void write(@Nonnull T content, @Nonnull OutputStream outputStream) throws XmlWriterException { write(XmlWriterRequest.<T>builder() .content(content) .outputStream(outputStream) .build()); } default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.9K 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
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
outProperties.setProperty("a", "A"); final File file = tempFolder.newFile("hoge.properties"); final FileOutputStream outputStream = OutputStreamUtil.create(file); PropertiesUtil.store(outProperties, outputStream, "comments"); CloseableUtil.close(outputStream); final Properties properties = new Properties(); PropertiesUtil.load(properties, file);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java
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); } private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) { if (outputStream == null) { return def; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0)