use of com.helger.as2lib.params.MessageMDNParameters in project as2-lib by phax.
the class MDNFileModule method getFilename.
@Override
protected String getFilename(@Nonnull final IMessage aMsg, @Nullable final String sFileParam) throws AS2InvalidParameterException {
final IMessageMDN aMDN = aMsg.getMDN();
final CompositeParameters aCompParams = new CompositeParameters(false).add("date", new DateParameters()).add("mdn", new MessageMDNParameters(aMDN));
return aCompParams.format(sFileParam);
}
Aggregations