code: @Override
      public void connect() throws IOException {
          if (getDoInput()) {
              InputStream in = mResolver.openInputStream(mUri);
              mInputStream = new ContentURLConnectionInputStream(in);
          }
          if (getDoOutput()) {
              OutputStream out = mResolver.openOutputStream(mUri, "rwt");
              mOutputStream = new ContentURLConnectionOutputStream(out);
          }
          mConnected = true;
      }
docs: {@inheritDoc}