public MessageListItem from ( final String category ) { List < String > messages = FluentIterable . from ( delegate ) . filter ( byCategory ( category ) ) . transform ( toMessageString ( ) ) . toList ( ) ; return new MessageListItem ( messages ) ; }
Return all messages by category . This method can useful if you want to get messages from a specific category .