Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for outputStream (0.06 sec)

  1. 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 like
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. 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 like
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. 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)
Back to top