mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Publicize tag API for use with reporting
This commit is contained in:
parent
446447fa8b
commit
f93a1b0443
@ -122,7 +122,7 @@ public class Tags {
|
|||||||
* Get a list of all the tag names.
|
* Get a list of all the tag names.
|
||||||
* @return a list of all tag names.
|
* @return a list of all tag names.
|
||||||
*/
|
*/
|
||||||
static String[] getTagNames() {
|
public static String[] getTagNames() {
|
||||||
Set<String> names = new HashSet<String>();
|
Set<String> names = new HashSet<String>();
|
||||||
//List<String> names = new ArrayList<String>();
|
//List<String> names = new ArrayList<String>();
|
||||||
try {
|
try {
|
||||||
@ -153,7 +153,7 @@ public class Tags {
|
|||||||
* @param name of the requested tags
|
* @param name of the requested tags
|
||||||
* @return a list of all tag artifacts with the given name
|
* @return a list of all tag artifacts with the given name
|
||||||
*/
|
*/
|
||||||
static List<BlackboardArtifact> getTagsByName(String name) {
|
public static List<BlackboardArtifact> getTagsByName(String name) {
|
||||||
try {
|
try {
|
||||||
Case currentCase = Case.getCurrentCase();
|
Case currentCase = Case.getCurrentCase();
|
||||||
SleuthkitCase skCase = currentCase.getSleuthkitCase();
|
SleuthkitCase skCase = currentCase.getSleuthkitCase();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user