Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
ExtractedText.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2011-2023 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  */
19 package org.sleuthkit.autopsy.keywordsearch;
20 
21 import org.openide.util.NbBundle;
22 
30 @NbBundle.Messages({
31  "ExtractedText.errorMessage.errorGettingText=<span style='font-style:italic'>Error retrieving text.</span>",
32  "ExtractedText.warningMessage.knownFile=<span style='font-style:italic'>This file is a known file (based on MD5 hash) and does not have indexed text.</span>",
33  "ExtractedText.warningMessage.noTextAvailable=<span style='font-style:italic'>No text available for this file.</span>"
34 })
35 interface ExtractedText {
36 
42  String getText();
43 
48  boolean isSearchable();
49 
56  String getAnchorPrefix();
57 
63  int getNumberHits();
64 
68  @Override
69  String toString();
70 
76  int getNumberPages();
77 
83  int getCurrentPage();
84 
90  boolean hasNextPage();
91 
97  int nextPage();
98 
104  boolean hasPreviousPage();
105 
111  int previousPage();
112 
118  boolean hasNextItem();
119 
125  int nextItem();
126 
132  boolean hasPreviousItem();
133 
139  int previousItem();
140 
146  int currentItem();
147 
148 }

Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.