public MAPIMessage(NPOIFSFileSystem fs) throws IOException {
this(fs.getRoot());
}
- /**
- * @deprecated Use {@link #MAPIMessage(DirectoryNode)} instead
- */
- @Deprecated
- public MAPIMessage(DirectoryNode poifsDir, POIFSFileSystem fs) throws IOException {
- this(poifsDir);
- }
/**
* Constructor for reading MSG Files from a certain
* point within a POIFS filesystem
}
return getStringFromChunk(mainChunks.getHtmlBodyChunkString());
}
- @Deprecated
- public String getHmtlBody() throws ChunkNotFoundException {
- return getHtmlBody();
- }
/**
* Gets the RTF Rich Message body of this Outlook Message, if this email
// Nothing suitable in the headers, try HTML
try {
- String html = getHmtlBody();
+ String html = getHtmlBody();
if(html != null && html.length() > 0) {
// Look for a content type in the meta headers
Pattern p = Pattern.compile(