mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Fixed typos in comments
This commit is contained in:
parent
f5fbc9d979
commit
00b16e641c
@ -108,8 +108,7 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wraps each table in a reader as the tables are streamed one at a time
|
* Lazily loads tables from the database during reading to conserve memory.
|
||||||
* from the database.
|
|
||||||
*/
|
*/
|
||||||
private class SQLiteTableReader extends Reader {
|
private class SQLiteTableReader extends Reader {
|
||||||
|
|
||||||
@ -162,8 +161,8 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reads from the database table and loads in the contents to a table
|
* Reads from a database table and loads the contents into a table
|
||||||
* builder, so that its properly formatted during indexing.
|
* builder so that its properly formatted during indexing.
|
||||||
*
|
*
|
||||||
* @param tableName Database table to be read
|
* @param tableName Database table to be read
|
||||||
*/
|
*/
|
||||||
@ -208,8 +207,8 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines if the object result from the result set is worth addign to
|
* Determines if the result from the result set is worth adding to
|
||||||
* the row or not. Ignores nulls and blobs for the time being.
|
* the row. Ignores nulls and blobs for the time being.
|
||||||
*
|
*
|
||||||
* @param result Object result retrieved from resultSet
|
* @param result Object result retrieved from resultSet
|
||||||
* @param type Type of objet retrieved from resultSet
|
* @param type Type of objet retrieved from resultSet
|
||||||
@ -221,9 +220,8 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads a database file into the character buffer until there are not
|
* Loads a database file into the character buffer. The underlying implementation here only loads
|
||||||
* more contents to read. The underlying implementation here only loads
|
* one table at a time to conserve memory.
|
||||||
* one table at a time, to conserve memory.
|
|
||||||
*
|
*
|
||||||
* @param cbuf Buffer to copy database content characters into
|
* @param cbuf Buffer to copy database content characters into
|
||||||
* @param off offset to begin loading in buffer
|
* @param off offset to begin loading in buffer
|
||||||
@ -259,10 +257,10 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
/**
|
/**
|
||||||
* Grab the next table name from the collection of all table names, once
|
* Grab the next table name from the collection of all table names, once
|
||||||
* we no longer have a table to process, return null which will be
|
* we no longer have a table to process, return null which will be
|
||||||
* understoon to mean the end of parsing.
|
* understood to mean the end of parsing.
|
||||||
*
|
*
|
||||||
* @return String of current table contents or null if not more tables
|
* @return Current table contents or null meaning there are not more tables
|
||||||
* to read
|
* to process
|
||||||
*/
|
*/
|
||||||
private String getNextTable() {
|
private String getNextTable() {
|
||||||
if (tableIterator.hasNext()) {
|
if (tableIterator.hasNext()) {
|
||||||
@ -305,7 +303,7 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the section to the top left corner of the table. This is where
|
* Add the section to the top left corner of the table. This is where
|
||||||
* the name of the table should go.
|
* the name of the table should go
|
||||||
*
|
*
|
||||||
* @param tableName Table name
|
* @param tableName Table name
|
||||||
*/
|
*/
|
||||||
@ -314,8 +312,7 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add header row to underlying list collection, which will be formatted
|
* Adds a formatted header row to the underlying StringBuilder
|
||||||
* when toString is called.
|
|
||||||
*
|
*
|
||||||
* @param vals
|
* @param vals
|
||||||
*/
|
*/
|
||||||
@ -324,8 +321,7 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a row to the underlying list collection, which will be formatted
|
* Adds a formatted row to the underlying StringBuilder
|
||||||
* when toString is called.
|
|
||||||
*
|
*
|
||||||
* @param vals
|
* @param vals
|
||||||
*/
|
*/
|
||||||
@ -346,7 +342,7 @@ class SqliteTextExtractor extends ContentTextExtractor {
|
|||||||
* Returns a string version of the table, with all of the escape
|
* Returns a string version of the table, with all of the escape
|
||||||
* sequences necessary to print nicely in the console output.
|
* sequences necessary to print nicely in the console output.
|
||||||
*
|
*
|
||||||
* @return
|
* @return Formated table contents
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user