Go to console

ListResult

public final class ListResult extends Object

Contains the prefixes and items returned by a list(int) call.

Public Method Summary

List<StorageReference>
getItems()
The items (files) returned by the list() operation.
String
getPageToken()
Returns a token that can be used to resume a previous list() operation.
List<StorageReference>
getPrefixes()
The prefixes (folders) returned by the list() operation.

Inherited Method Summary

Public Methods

public List<StorageReference> getItems ()

The items (files) returned by the list() operation.

Returns
  • A list of items (files).

public String getPageToken ()

Returns a token that can be used to resume a previous list() operation. null indicates that there are no more results.

Returns
  • A page token if more results are available.

public List<StorageReference> getPrefixes ()

The prefixes (folders) returned by the list() operation.

Returns
  • A list of prefixes (folders).