code: @Override
      public GetSnapshotContentsTaskResult getSnapshotContents(String snapshotId,
                                                               int pageNumber,
                                                               int pageSize,
                                                               String prefix)
          throws ContentStoreException {
          GetSnapshotContentsTaskParameters taskParams =
              new GetSnapshotContentsTaskParameters();
          taskParams.setSnapshotId(snapshotId);
          taskParams.setPageNumber(pageNumber);
          taskParams.setPageSize(pageSize);
          taskParams.setPrefix(prefix);
  
          String taskResult =
              contentStore.performTask(SnapshotConstants.GET_SNAPSHOT_CONTENTS_TASK_NAME,
                                       taskParams.serialize());
  
          return GetSnapshotContentsTaskResult.deserialize(taskResult);
      }
docs: {@inheritDoc}