List of usage examples for org.apache.commons.lang3.time DateFormatUtils DateFormatUtils
public DateFormatUtils()
DateFormatUtils instances should NOT be constructed in standard programming.
This constructor is public to permit tools that require a JavaBean instance to operate.
From source file:org.beangle.ems.system.web.action.FileAction.java
public String list() { String path = getPath();/*w w w . j a v a2s . c o m*/ File curFile = new File(path); if (curFile.exists()) { File[] files = list(curFile); put("files", files); put("path", path); if (null != curFile.getParent()) { put("parent", curFile.getParent()); } } put("dateformat", new DateFormatUtils()); put("mimeType", new FileMimeType(mimeTypeProvider)); return forward(); }