private void ensureDirectory() throws IOException {
		File dir = new File(directory);
		if (!dir.exists()) {
			FileUtils.forceMkdir(dir);
		}
		Assert.isTrue(dir.exists());
		Assert.isTrue(dir.canWrite());
	}
Time stamp date format.

@see java.text.SimpleDateFormat
extensions/spring-xd-extension-batch/src/main/java/org/springframework/batch/integration/x/TimestampFileTasklet.java