mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
document TskCoreException
This commit is contained in:
parent
ca044a8cb9
commit
94947d154c
@ -158,7 +158,8 @@ public class FileTypeDetector {
|
|||||||
* @return A MIME type name. If file type could not be detected or results
|
* @return A MIME type name. If file type could not be detected or results
|
||||||
* were uncertain, octet-stream is returned.
|
* were uncertain, octet-stream is returned.
|
||||||
*
|
*
|
||||||
* @throws TskCoreException
|
* @throws TskCoreException If there is a problem writing the result to the
|
||||||
|
* case database.
|
||||||
*/
|
*/
|
||||||
public String detect(AbstractFile file) throws TskCoreException {
|
public String detect(AbstractFile file) throws TskCoreException {
|
||||||
return detect(file, false);
|
return detect(file, false);
|
||||||
@ -175,7 +176,8 @@ public class FileTypeDetector {
|
|||||||
* @return A MIME type name. If file type could not be detected or results
|
* @return A MIME type name. If file type could not be detected or results
|
||||||
* were uncertain, octet-stream is returned.
|
* were uncertain, octet-stream is returned.
|
||||||
*
|
*
|
||||||
* @throws TskCoreException
|
* @throws TskCoreException If there is a problem writing the result to the
|
||||||
|
* case database.
|
||||||
*/
|
*/
|
||||||
private String detect(AbstractFile file, boolean postToBlackBoard) throws TskCoreException {
|
private String detect(AbstractFile file, boolean postToBlackBoard) throws TskCoreException {
|
||||||
String mimeType = file.getMIMEType();
|
String mimeType = file.getMIMEType();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user