Sleuth Kit Java Bindings (JNI) 4.14.0
Java bindings for using The Sleuth Kit
Loading...
Searching...
No Matches
Content.java
Go to the documentation of this file.
1/*
2 * Sleuth Kit Data Model
3 *
4 * Copyright 2011-2016 Basis Technology Corp.
5 * Contact: carrier <at> sleuthkit <dot> org
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19package org.sleuthkit.datamodel;
20
21import java.util.ArrayList;
22import java.util.Collection;
23import java.util.List;
24import java.util.Set;
25
33public interface Content extends SleuthkitVisitableItem {
34
48 public int read(byte[] buf, long offset, long len) throws TskCoreException;
49
55 public void close();
56
64 public long getSize();
65
73 public <T> T accept(ContentVisitor<T> v);
74
80 public String getName();
81
87 public String getUniquePath() throws TskCoreException;
88
95 public long getId();
96
106
114 public List<Content> getChildren() throws TskCoreException;
115
124 public boolean hasChildren() throws TskCoreException;
125
135
143
151 public List<Long> getChildrenIds() throws TskCoreException;
152
165 @Deprecated
166 public BlackboardArtifact newArtifact(int artifactTypeID) throws TskCoreException;
167
179 @Deprecated
181
200 public AnalysisResultAdded newAnalysisResult(BlackboardArtifact.Type artifactType, Score score, String conclusion, String configuration, String justification, Collection<BlackboardAttribute> attributesList) throws TskCoreException;
201
221 public AnalysisResultAdded newAnalysisResult(BlackboardArtifact.Type artifactType, Score score, String conclusion, String configuration, String justification, Collection<BlackboardAttribute> attributesList, long dataSourceId) throws TskCoreException;
222
236 public DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection<BlackboardAttribute> attributesList) throws TskCoreException;
237
238
252 public DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection<BlackboardAttribute> attributesList, Long osAccountId) throws TskCoreException;
253
268 public DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection<BlackboardAttribute> attributesList, Long osAccountId, long dataSourceId) throws TskCoreException;
269
278
289 public ArrayList<BlackboardArtifact> getArtifacts(String artifactTypeName) throws TskCoreException;
290
302
312
327
337
348 public ArrayList<BlackboardArtifact> getArtifacts(int artifactTypeID) throws TskCoreException;
349
360
369
378
387
395 public Set<String> getHashSetNames() throws TskCoreException;
396
407 public long getArtifactsCount(String artifactTypeName) throws TskCoreException;
408
419 public long getArtifactsCount(int artifactTypeID) throws TskCoreException;
420
432
441}
List< AnalysisResult > getAllAnalysisResults()
ArrayList< BlackboardArtifact > getArtifacts(String artifactTypeName)
List< DataArtifact > getAllDataArtifacts()
ArrayList< BlackboardAttribute > getGenInfoAttributes(BlackboardAttribute.ATTRIBUTE_TYPE attr_type)
ArrayList< BlackboardArtifact > getAllArtifacts()
DataArtifact newDataArtifact(BlackboardArtifact.Type artifactType, Collection< BlackboardAttribute > attributesList)
AnalysisResultAdded newAnalysisResult(BlackboardArtifact.Type artifactType, Score score, String conclusion, String configuration, String justification, Collection< BlackboardAttribute > attributesList)
BlackboardArtifact newArtifact(int artifactTypeID)
public< T > T accept(ContentVisitor< T > v)
List< AnalysisResult > getAnalysisResults(BlackboardArtifact.Type artifactType)
long getArtifactsCount(String artifactTypeName)
List< Content > getChildren()
BlackboardArtifact getGenInfoArtifact()
int read(byte[] buf, long offset, long len)

Copyright © 2011-2024 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.