import java.util.Date;
import java.util.Properties;

import org.lp20.aikuma.storage.GoogleDriveStorage;
import org.lp20.aikuma.storage.DataStore;


public class ListFiles {
	public static void main(String[] args) {
		Properties config = DemoUtils.readProps();
		String accessToken = config.getProperty("access_token");
		String rootId = config.getProperty("aikuma_root_id");
		String email = config.getProperty("central_drive_email");

		GoogleDriveStorage gd;
		try {
			gd = new GoogleDriveStorage(accessToken, rootId, email);
		} catch (DataStore.StorageException e) {
			System.out.println("Failed to initialize GD");
			System.exit(1);
			return;
		}
		
		gd.list(new GoogleDriveStorage.ListItemHandler() {
			@Override
			public boolean processItem(String identifier, Date date) {
				String datestr = date == null ? "?" : date.toString();
				System.out.format("%s [%s]\n", identifier, datestr);
				return true;
			}
		});
	}
}

@@ -788,93 +788,152 @@
 %09%09%09%09
-String datestr = date == null ? %22?%22 : date.toString();%0A%09%09%09%09System.out.format(%22%25s %5B%25s%5D
+if (date == null)%0A%09%09%09%09%09System.out.format(%22%5B????-??-?? ??:??:?? ????%5D %25s%5Cn%22, identifier);%0A%09%09%09%09else%0A%09%09%09%09%09System.out.format(%22%5B%252$tF %252$tT%252$tz%5D %251s
 %5Cn%22,
@@ -953,11 +953,8 @@
 date
-str
 );%0A%09

make output prettier