Autopsy  4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.textextractors.TikaTextExtractor.CleanUpStream Class Reference

Inherits FileInputStream.

Public Member Functions

 CleanUpStream (File file) throws FileNotFoundException
 
void close () throws IOException
 

Private Attributes

File file
 

Detailed Description

Automatically deletes the underlying File when the close() method is called. This is used to delete the Output file produced from Tesseract once it has been read by Tika.

Definition at line 381 of file TikaTextExtractor.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.textextractors.TikaTextExtractor.CleanUpStream.CleanUpStream ( File  file) throws FileNotFoundException

Store a reference to file on construction

Parameters
file
Exceptions
FileNotFoundException

Definition at line 392 of file TikaTextExtractor.java.

References org.sleuthkit.autopsy.textextractors.TikaTextExtractor.CleanUpStream.file.

Member Function Documentation

void org.sleuthkit.autopsy.textextractors.TikaTextExtractor.CleanUpStream.close ( ) throws IOException

Delete this underlying file when close is called.

Exceptions
IOException

Definition at line 403 of file TikaTextExtractor.java.

Member Data Documentation

File org.sleuthkit.autopsy.textextractors.TikaTextExtractor.CleanUpStream.file
private

The documentation for this class was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.