- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 117 for OutputStream (0.08 sec)
-
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
*/ public static int main( String[] args, ClassWorld world, @Nullable InputStream stdIn, @Nullable OutputStream stdOut, @Nullable OutputStream stdErr) throws IOException { return new MavenUpCling(world).run(args, stdIn, stdOut, stdErr, true); } public MavenUpCling() { super(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
* data written to it to the underlying {@link OutputStream}. * * <p>The {@link OutputStream} should not be written to before or after the hand-off. */ // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could // be (optionally) be combined with another if needed (with something likeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java
* @throws IOException java.io.IOException if any. */ public void write(OutputStream stream, Model model) throws IOException { try { delegate.write(stream, model.getDelegate()); } catch (XMLStreamException e) { throw new IOException(e); } } // -- void write( OutputStream, Model )Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
} } @Override public void write(OutputStream output, Map<String, Object> options, Settings settings) throws IOException { Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(settings, "settings cannot be null"); try (OutputStream out = output) { new SettingsStaxWriter().write(out, settings.getDelegate());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
// When OutputStream os1 = mockResource.openOutputStream(); OutputStream os2 = mockResource.openOutputStream(true); OutputStream os3 = mockResource.openOutputStream(false, 1); OutputStream os4 = mockResource.openOutputStream(true, 1, 2, 3); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
* limitations under the License. */ package com.google.common.io; import com.google.common.collect.ImmutableSet; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import org.jspecify.annotations.NullUnmarked; /** * A byte sink for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link OutputStream} operations. * * @author shot */ public abstract class OutputStreamUtil { /** * Do not instantiate. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java
} /** * The main entry point. */ public int run( String[] args, @Nullable InputStream stdIn, @Nullable OutputStream stdOut, @Nullable OutputStream stdErr, boolean embedded) throws IOException { try (Invoker invoker = createInvoker()) { return invoker.invoke(createParser()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Feb 08 16:25:25 UTC 2025 - 3.6K bytes - Viewed (0)