org.jclouds.blobstore.BlobStore.deleteDirectory()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(95)

本文整理了Java中org.jclouds.blobstore.BlobStore.deleteDirectory()方法的一些代码示例,展示了BlobStore.deleteDirectory()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BlobStore.deleteDirectory()方法的具体详情如下:
包路径:org.jclouds.blobstore.BlobStore
类名称:BlobStore
方法名:deleteDirectory

BlobStore.deleteDirectory介绍

[英]Deletes a folder or a directory marker depending on the service
[中]根据服务删除文件夹或目录标记

代码示例

代码示例来源:origin: org.apache.jclouds/jclouds-blobstore

@Override
 public Void call() {
   blobStore.deleteDirectory(containerName, dirName);
   return null;
 }
});

代码示例来源:origin: Nextdoor/bender

@Override
 public Void call() {
   blobStore.deleteDirectory(containerName, dirName);
   return null;
 }
});

代码示例来源:origin: com.amysta.jclouds/jclouds-blobstore

@Override
 public Void call() {
   blobStore.deleteDirectory(containerName, dirName);
   return null;
 }
});

代码示例来源:origin: io.cloudsoft.jclouds/jclouds-blobstore

@Override
 public void run() {
   blobStore.deleteDirectory(containerName, fullPath);
 }
}));

代码示例来源:origin: apache/jclouds

@Override
 public Void call() {
   blobStore.deleteDirectory(containerName, dirName);
   return null;
 }
});

代码示例来源:origin: com.amysta.jclouds/jclouds-blobstore

@Override
public void deleteDirectory(String container, String directory) {
 delegate().deleteDirectory(container, directory);
}

代码示例来源:origin: io.cloudsoft.jclouds/jclouds-blobstore

@Override
 public void run() {
   blobStore.deleteDirectory(containerName, md.getName());
 }
}));

代码示例来源:origin: Nextdoor/bender

@Override
public void deleteDirectory(String container, String directory) {
 delegate().deleteDirectory(container, directory);
}

代码示例来源:origin: apache/jclouds

@Override
public void deleteDirectory(String container, String directory) {
 delegate().deleteDirectory(container, directory);
}

代码示例来源:origin: org.apache.jclouds/jclouds-blobstore

@Override
public void deleteDirectory(String container, String directory) {
 delegate().deleteDirectory(container, directory);
}

代码示例来源:origin: com.googlecode.the-fascinator.plugins/plugin-storage-blobstore

/**
 * Perform the actual removal from Fedora
 *
 * @param fedoraPid
 *            the Fedora PID to remove from storage
 * @throws StorageException
 *             if any errors occur
 */
private void removeBlobStoreObject(String oid) throws StorageException {
  if (BlobStoreClient.getClient().directoryExists(BlobStoreClient.getContainerName(), oid)) {
    BlobStoreClient.getClient().deleteDirectory(BlobStoreClient.getContainerName(), oid);
  } else {
    throw new StorageException("Object " + oid + " doesn't exist to be deleted");
  }
}

代码示例来源:origin: apache/jclouds

view.getBlobStore().deleteDirectory(containerName, directory);

代码示例来源:origin: jclouds/legacy-jclouds

view.getBlobStore().deleteDirectory(containerName, directory);

相关文章