Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for openInputStream (0.19 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

                  return openInputStream();
                }
              };
        }
      }
    
      /**
       * Returns a readable {@link ByteSource} view of the data that has been written to this stream.
       *
       * @since 15.0
       */
      public ByteSource asByteSource() {
        return source;
      }
    
      private synchronized InputStream openInputStream() throws IOException {
        if (file != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

     *
     * <p>This class is intended to be used in the following pattern:
     *
     * <pre>{@code
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top