@Test public void testCtor() throws MessagingException, IOException { sut = new MessageContentExtractor(null, null); Message msg = (Message) makeMultipart(true, makeContentPart("text/plain", false, "stuff\r\nmore\r\nDate: 1/1/11")); String result = sut.extract(msg); context.assertIsSatisfied(); assertEquals("stuff\r\nmore\r\nDate: 1/1/11", result); }
public String extract(final Message message) throws MessagingException, IOException { return findAndExtract(message); }
MessageContentExtractor { public String extract(final Message message) throws MessagingException, IOException { return findAndExtract(message); } }
MessageContentExtractor { public String extract(final Message message) throws MessagingException, IOException { return findAndExtract(message); } MessageContentExtractor(final Collection<String> inReplyMarkersLiteral,
            final Collection<String> inReplyMarkersRegex); }
MessageContentExtractor { public String extract(final Message message) throws MessagingException, IOException { return findAndExtract(message); } MessageContentExtractor(final Collection<String> inReplyMarkersLiteral,
            final Collection<String> inReplyMarkersRegex); String extract(final Message message); }
MessageContentExtractor { public String extract(final Message message) throws MessagingException, IOException { return findAndExtract(message); } MessageContentExtractor(final Collection<String> inReplyMarkersLiteral,
            final Collection<String> inReplyMarkersRegex); String extract(final Message message);  }