private static ListEntry[] toListEntry(S3ListBucketObjectEntry[] engineEntries) {
if (engineEntries != null) {
ListEntry[] entries = new ListEntry[engineEntries.length];
for (int i = 0; i < engineEntries.length; i++) {
entries[i] = new ListEntry();
entries[i].setETag(engineEntries[i].getETag());
entries[i].setKey(engineEntries[i].getKey());
entries[i].setLastModified(engineEntries[i].getLastModified());
entries[i].setSize(engineEntries[i].getSize());
entries[i].setStorageClass(StorageClass.STANDARD);