Fix inconsistent whitespace in HSMF files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1496962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c4d512d4a
commit
73aa6c507e
@ -92,7 +92,7 @@ public class MAPIMessage extends POIDocument {
|
||||
* @throws IOException
|
||||
*/
|
||||
public MAPIMessage(InputStream in) throws IOException {
|
||||
this(new POIFSFileSystem(in));
|
||||
this(new NPOIFSFileSystem(in));
|
||||
}
|
||||
/**
|
||||
* Constructor for reading MSG Files from a POIFS filesystem
|
||||
|
@ -24,8 +24,7 @@ import org.apache.poi.hsmf.datatypes.Types.MAPIType;
|
||||
import org.apache.poi.util.IOUtils;
|
||||
|
||||
/**
|
||||
* A Chunk that holds binary data, normally
|
||||
* unparsed.
|
||||
* A Chunk that holds binary data, normally unparsed.
|
||||
* Generally as we know how to make sense of the
|
||||
* contents, we create a new Chunk class and add
|
||||
* a special case in the parser for them.
|
||||
|
@ -23,7 +23,7 @@ import java.io.OutputStream;
|
||||
|
||||
import org.apache.poi.hsmf.datatypes.Types.MAPIType;
|
||||
|
||||
abstract public class Chunk {
|
||||
public abstract class Chunk {
|
||||
public static final String DEFAULT_NAME_PREFIX = "__substg1.0_";
|
||||
|
||||
protected int chunkId;
|
||||
|
@ -36,7 +36,6 @@ import org.apache.poi.util.POILogger;
|
||||
* server, and an ID that's used if you want to cancel
|
||||
* a message or similar
|
||||
*/
|
||||
|
||||
public class MessageSubmissionChunk extends Chunk {
|
||||
private static POILogger logger = POILogFactory.getLogger(MessageSubmissionChunk.class);
|
||||
private String rawId;
|
||||
|
@ -28,7 +28,6 @@ import java.util.Map;
|
||||
import org.apache.poi.hsmf.datatypes.PropertyValue.LongLongPropertyValue;
|
||||
import org.apache.poi.hsmf.datatypes.PropertyValue.TimePropertyValue;
|
||||
import org.apache.poi.hsmf.datatypes.Types.MAPIType;
|
||||
import org.apache.poi.util.HexDump;
|
||||
import org.apache.poi.util.IOUtils;
|
||||
import org.apache.poi.util.LittleEndian;
|
||||
import org.apache.poi.util.LittleEndian.BufferUnderrunException;
|
||||
|
Loading…
Reference in New Issue
Block a user