Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for OutputStream (0.11 sec)

  1. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

         */
        public static int main(
                String[] args,
                ClassWorld world,
                @Nullable InputStream stdIn,
                @Nullable OutputStream stdOut,
                @Nullable OutputStream stdErr)
                throws IOException {
            return new MavenEncCling(world).run(args, stdIn, stdOut, stdErr, true);
        }
    
        public MavenEncCling() {
            super();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

         */
        public static int main(
                String[] args,
                ClassWorld world,
                @Nullable InputStream stdIn,
                @Nullable OutputStream stdOut,
                @Nullable OutputStream stdErr)
                throws IOException {
            return new MavenShellCling(world).run(args, stdIn, stdOut, stdErr, true);
        }
    
        public MavenShellCling() {
            super();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This <code>OutputStream</code> can write bytes to a file on an SMB file server.
     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private final SmbFile file;
        private final boolean append, useNTSmbs;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

        }
    
        @Override
        public void downloadObject(final String objectName, final OutputStream outputStream) {
            try {
                final GetObjectRequest request = GetObjectRequest.builder().bucket(bucket).key(objectName).build();
                try (InputStream in = s3Client.getObject(request)) {
                    in.transferTo(outputStream);
                }
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java

         * @param model a model object.
         * @throws IOException java.io.IOException if any.
         */
        @Override
        public void write(OutputStream stream, Model model) throws IOException {
            super.write(stream, model);
        } // -- void write( OutputStream, Model )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

            try {
                FileOutputStream outputStream = new FileOutputStream(repoFile);
                try {
                    ObjectOutputStream objOutputStream = new ObjectOutputStream(new BufferedOutputStream(outputStream));
                    objOutputStream.writeObject(classes);
                    objOutputStream.close();
                } finally {
                    outputStream.close();
                }
            } catch (IOException e) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.connection.setConnectTimeout(connectTimeout);
        }
    
        private static class CacheStream extends OutputStream {
    
            private final OutputStream stream;
    
            private final OutputStream collector;
    
            public CacheStream(final OutputStream stream, final OutputStream collector) {
                this.stream = stream;
                this.collector = collector;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      }
    
      public void testOpenStream() throws IOException {
        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSinkTester.java

      }
    
      public void testOpenStream() throws IOException {
        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
        } finally {
          out.close();
        }
    
        assertContainsExpectedBytes();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top