类 UserMailItemProcessor
- java.lang.Object
- org.springframework.batch.sample.domain.mail.internal.UserMailItemProcessor
- 所有已实现的接口:
ItemProcessor<User,org.springframework.mail.SimpleMailMessage>
public class UserMailItemProcessor extends java.lang.Object implements ItemProcessor<User,org.springframework.mail.SimpleMailMessage>
- 从以下版本开始:
- 2.1
- 作者:
- Dan Garrette, Dave Syer
构造器概要
构造器 构造器 说明 UserMailItemProcessor()
构造器详细资料
UserMailItemProcessor
public UserMailItemProcessor()
方法详细资料
process
public org.springframework.mail.SimpleMailMessage process(User user) throws java.lang.Exception
从接口复制的说明:ItemProcessor
Process the provided item, returning a potentially modified or new item for continued processing. If the returned result is null, it is assumed that processing of the item should not continue.- 指定者:
process
在接口中ItemProcessor<User,org.springframework.mail.SimpleMailMessage>
- 参数:
user
- to be processed- 返回:
- potentially modified or new item for continued processing,
null
if processing of the provided item should not continue. - 抛出:
java.lang.Exception
- thrown if exception occurs during processing.- 另请参阅:
ItemProcessor.process(java.lang.Object)