Class EmailVisitor
- java.lang.Object
-
- org.apache.tika.parser.microsoft.libpst.EmailVisitor
-
- All Implemented Interfaces:
FileVisitor<Path>
public class EmailVisitor extends Object implements FileVisitor<Path>
-
-
Constructor Summary
Constructors Constructor Description EmailVisitor(Path root, boolean processEmailAsMsg, XHTMLContentHandler xhtml, Metadata parentMetadata, ParseContext parseContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileVisitResult
postVisitDirectory(Path dir, IOException exc)
FileVisitResult
preVisitDirectory(Path dir, BasicFileAttributes attrs)
FileVisitResult
visitFile(Path file, BasicFileAttributes attrs)
FileVisitResult
visitFileFailed(Path file, IOException exc)
-
-
-
Constructor Detail
-
EmailVisitor
public EmailVisitor(Path root, boolean processEmailAsMsg, XHTMLContentHandler xhtml, Metadata parentMetadata, ParseContext parseContext)
-
-
Method Detail
-
preVisitDirectory
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
- Throws:
IOException
-
visitFile
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException
- Specified by:
visitFile
in interfaceFileVisitor<Path>
- Throws:
IOException
-
visitFileFailed
public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException
- Specified by:
visitFileFailed
in interfaceFileVisitor<Path>
- Throws:
IOException
-
postVisitDirectory
public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException
- Specified by:
postVisitDirectory
in interfaceFileVisitor<Path>
- Throws:
IOException
-
-