mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #5519 from rcordovano/public-api-adjustments
Public API adjustments
This commit is contained in:
commit
cfd42dca03
@ -94,15 +94,6 @@ public final class TextFileExtractor implements TextExtractor {
|
||||
return file.getMIMEType().equals("text/plain");
|
||||
}
|
||||
|
||||
public class TextFileExtractorException extends Exception {
|
||||
public TextFileExtractorException(String msg, Throwable ex) {
|
||||
super(msg, ex);
|
||||
}
|
||||
public TextFileExtractorException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
|
||||
public static Charset getEncoding(Content content) {
|
||||
try (InputStream stream = new BufferedInputStream(new ReadContentInputStream(content))) {
|
||||
// Tika first
|
||||
|
Loading…
x
Reference in New Issue
Block a user