public interface GoogleCloudStorageDirectoryService
Modifier and Type | Method and Description |
---|---|
static GoogleCloudStorageDirectoryService |
create(org.apache.http.client.HttpClient httpClient,
String directoryUrl)
Create a new
GoogleCloudStorageDirectoryService instance. |
File |
downloadFile(GoogleCloudStorageEntry fileEntry)
Download a given
GoogleCloudStorageEntry . |
List<GoogleCloudStorageEntry> |
getEntries()
Get all
GoogleCloudStorageEntry of the directory. |
@Nonnull List<GoogleCloudStorageEntry> getEntries() throws IOException
GoogleCloudStorageEntry
of the directory.GoogleCloudStorageEntry
of the directoryIOException
- In case of a networking error@Nonnull File downloadFile(GoogleCloudStorageEntry fileEntry) throws IOException
GoogleCloudStorageEntry
.fileEntry
- The GoogleCloudStorageEntry
to downloadFile
IOException
- In case of a networking error@Nonnull static GoogleCloudStorageDirectoryService create(org.apache.http.client.HttpClient httpClient, String directoryUrl)
GoogleCloudStorageDirectoryService
instance.httpClient
- The HttpClient
to usedirectoryUrl
- The directory URL to useGoogleCloudStorageDirectoryService
instanceCopyright © 2019. All rights reserved.