content: package androidx.documentfile.provider;
  
  import android.content.Context;
  import android.net.Uri;
  import android.provider.DocumentsContract;
  import mt.Log1F380D;
  
  /* compiled from: 006B */
  class SingleDocumentFile extends DocumentFile {
      private Context mContext;
      private Uri mUri;
  
      SingleDocumentFile(DocumentFile parent, Context context, Uri uri) {
          super(parent);
          this.mContext = context;
          this.mUri = uri;
      }
  
      public boolean canRead() {
          return DocumentsContractApi19.canRead(this.mContext, this.mUri);
      }
  
      public boolean canWrite() {
          return DocumentsContractApi19.canWrite(this.mContext, this.mUri);
      }
  
      public DocumentFile createDirectory(String displayName) {
          throw new UnsupportedOperationException();
      }
  
      public DocumentFile createFile(String mimeType, String displayName) {
          throw new UnsupportedOperationException();
      }
  
      public boolean delete() {
          try {
              return DocumentsContract.deleteDocument(this.mContext.getContentResolver(), this.mUri);
          } catch (Exception e) {
              return false;
          }
      }
  
      public boolean exists() {
          return DocumentsContractApi19.exists(this.mContext, this.mUri);
      }
  
      public String getName() {
          String name = DocumentsContractApi19.getName(this.mContext, this.mUri);
          Log1F380D.a((Object) name);
          return name;
      }
  
      public Uri getUri() {
          return this.mUri;
      }
  
      public boolean isDirectory() {
          return DocumentsContractApi19.isDirectory(this.mContext, this.mUri);
      }
  
      public boolean isFile() {
          return DocumentsContractApi19.isFile(this.mContext, this.mUri);
      }
  
      public boolean isVirtual() {
          return DocumentsContractApi19.isVirtual(this.mContext, this.mUri);
      }
  
      public long lastModified() {
          return DocumentsContractApi19.lastModified(this.mContext, this.mUri);
      }
  
      public long length() {
          return DocumentsContractApi19.length(this.mContext, this.mUri);
      }
  
      public DocumentFile[] listFiles() {
          throw new UnsupportedOperationException();
      }
  
      public boolean renameTo(String displayName) {
          throw new UnsupportedOperationException();
      }
  
      public String getType() {
          String type = DocumentsContractApi19.getType(this.mContext, this.mUri);
          Log1F380D.a((Object) type);
          return type;
      }
  }
  