- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for outputStream (0.07 sec)
-
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
} /** * Creates an OutputStream from an XContentBuilder using the provided callback function. * * @param func the callback function to build XContent * @param mediaType the media type for the content builder * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
} } /** * Wraps a {@code PrimitiveSink} as an {@link OutputStream}, so it is easy to {@link Funnel#funnel * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of * the object to an {@code OutputStream}. * * <p>The {@code close} and {@code flush} methods of the returned {@code OutputStream} do nothing, * and no method throws {@code IOException}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
} } /** * Wraps a {@code PrimitiveSink} as an {@link OutputStream}, so it is easy to {@link Funnel#funnel * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of * the object to an {@code OutputStream}. * * <p>The {@code close} and {@code flush} methods of the returned {@code OutputStream} do nothing, * and no method throws {@code IOException}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
builder.field("test", "value"); builder.endObject(); return builder; }; OutputStream outputStream = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON); assertNotNull(outputStream); assertTrue(outputStream instanceof ByteArrayOutputStream); } public void test_getXContentBuilderOutputStream_ioException() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K 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 Sep 05 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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* Wraps the output stream with a {@link BufferedOutputStream} if necessary. * * @param os the output stream * @return the wrapped output stream */ protected static OutputStream wrap(final OutputStream os) { if (os instanceof BufferedOutputStream) { return os; } if (os instanceof ByteArrayOutputStream) { return os; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; import org.codelibs.fess.unit.UnitFessTestCase; public class JobProcessTest extends UnitFessTestCase {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.file.Files; import java.nio.file.Path; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link Writer} operations. * * @author koichik */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0)