jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java
public <T extends DataSource> EmailAttachmentBuilder content(final T dataSource) {
		this.dataSource = dataSource;
		name(dataSource.getName());
		return this;
	}
public <T extends DataSource> EmailAttachmentBuilder content(final T dataSource) {
		this.dataSource = dataSource;
		name(dataSource.getName());
		return this;
	}
public < T extends DataSource > EmailAttachmentBuilder content ( final T dataSource ) { this . dataSource = dataSource ; name ( dataSource . getName ( ) ) ; return this ; }
Sets the {@link DataSource}. Common {@link DataSource}s include {@link ByteArrayDataSource} and
{@link FileDataSource}.

@param dataSource {@link DataSource}
@return this
Sets the { @link DataSource } . Common { @link DataSource } s include { @link ByteArrayDataSource } and { @link FileDataSource } .