Package com.openmeet.shared.data.message

# Class MessageExtractor

java.lang.Object
com.openmeet.shared.data.message.MessageExtractor

All Implemented Interfaces:
  `ResultSetExtractor<Message>`

public class MessageExtractor extends Object implements ResultSetExtractor<Message>
The extractor is used to convert the ResultSet returned by the database query into a Message object.

See Also:
  - `ResultSetExtractor`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageExtractor()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Message`
  `extract(ResultSet resultSet)`
  Returns a Message object from the result set.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MessageExtractor

    public MessageExtractor()

- ## Method Details

  - ### extract

    public Message extract(ResultSet resultSet) throws SQLException
    Returns a Message object from the result set.
    Specified by:
      `extract` in interface `ResultSetExtractor<Message>`
    Parameters:
      `resultSet` - the result set deriving from the query statement.
    Returns:
      the Message object contained in the resultSet.
    Throws:
      `SQLException`