wro4j-core/src/main/java/ro/isdc/wro/model/resource/support/naming/TimestampNamingStrategy.java
public String rename(final String originalName, final InputStream inputStream) {
    final String baseName = FilenameUtils.getBaseName(originalName);
    final String extension = FilenameUtils.getExtension(originalName);
    final long timestamp = getTimestamp();
    final StringBuilder sb = new StringBuilder(baseName).append("-").append(timestamp);
    if (!StringUtils.isEmpty(extension)) {
      sb.append(".").append(extension);
    }
    return sb.toString();
  }
public String rename(final String originalName, final InputStream inputStream) {
    final String baseName = FilenameUtils.getBaseName(originalName);
    final String extension = FilenameUtils.getExtension(originalName);
    final long timestamp = getTimestamp();
    final StringBuilder sb = new StringBuilder(baseName).append("-").append(timestamp);
    if (!StringUtils.isEmpty(extension)) {
      sb.append(".").append(extension);
    }
    return sb.toString();
  }
public String rename ( final String originalName , final InputStream inputStream ) { final String baseName = FilenameUtils . getBaseName ( originalName ) ; final String extension = FilenameUtils . getExtension ( originalName ) ; final long timestamp = getTimestamp ( ) ; final StringBuilder sb = new StringBuilder ( baseName ) . append ( "-" ) . append ( timestamp ) ; if ( ! StringUtils . isEmpty ( extension ) ) { sb . append ( "." ) . append ( extension ) ; } return sb . toString ( ) ; }
{@inheritDoc}
{