mirror of https://github.com/apache/poi.git
bug 60331: remove deprecated constructor and method in scratchpad o.a.p.hsmf.MAPIMessage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1777444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30a548a514
commit
f904acbb01
|
@ -122,13 +122,6 @@ public class MAPIMessage extends POIReadOnlyDocument {
|
|||
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
|
||||
|
@ -206,10 +199,6 @@ public class MAPIMessage extends POIReadOnlyDocument {
|
|||
}
|
||||
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
|
||||
|
@ -426,7 +415,7 @@ public class MAPIMessage extends POIReadOnlyDocument {
|
|||
|
||||
// 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(
|
||||
|
|
Loading…
Reference in New Issue