List of usage examples for com.liferay.portal.kernel.util Time getShortTimestamp
public static String getShortTimestamp()
From source file:com.liferay.exportimport.lar.ExportImportHelperImpl.java
License:Open Source License
@Override public String getPortletExportFileName(Portlet portlet) { return StringBundler.concat(StringUtil.replace(portlet.getDisplayName(), ' ', '_'), "-", Time.getShortTimestamp(), ".portlet.lar"); }