Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for openInputStream (0.06 seconds)

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

        final State state;
    
        FbosByteSource(State state) {
          this.state = state;
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return state.openInputStream();
        }
      }
    
      /**
       * Returns a readable {@link ByteSource} view of the data that has been written to this stream.
       *
       * @since 15.0
       */
      public ByteSource asByteSource() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/Closer.java

     *
     * <p>This class is intended to be used in the following pattern:
     *
     * {@snippet :
     * 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
Back to Top