public class PstDocReader extends java.lang.Object implements FormatReader<DocData>
Constructor and Description |
---|
PstDocReader()
Create a new, uninitialized PSTDocReader.
|
PstDocReader(java.io.File file)
Create a new PSTDocReader that will read the specified email file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canRead()
Return whether this reader is initialized and can read data
|
void |
close()
Close the reader.
|
java.lang.String |
getFilters()
Get the filters for this reader.
|
java.lang.String |
getSource()
Get the source for this reader
|
boolean |
hasMoreData()
Determine whether the reader has more data
|
java.util.List<DocData> |
readData()
Read through the PST file, reading all files that match the filters.
|
void |
setFilters(java.lang.String filters)
Set the filters for this reader.
|
void |
setSource(java.lang.String source)
Set the source for this reader.
|
public PstDocReader()
setSource()
method.public PstDocReader(java.io.File file)
file
- the PST or OST file to read.public boolean canRead()
canRead
in interface FormatReader<DocData>
public void close()
close
in interface FormatReader<DocData>
public java.lang.String getFilters()
getFilters
in interface FormatReader<DocData>
public java.lang.String getSource()
getSource
in interface FormatReader<DocData>
public boolean hasMoreData()
hasMoreData
in interface FormatReader<DocData>
public java.util.List<DocData> readData()
readData
in interface FormatReader<DocData>
public void setFilters(java.lang.String filters)
setFilters
in interface FormatReader<DocData>
filters
- the folder listpublic void setSource(java.lang.String source)
setSource
in interface FormatReader<DocData>
source
- the PST source file