Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.CaseDbConnectionInfo Class Reference

Public Member Functions

 CaseDbConnectionInfo (String hostNameOrIP, String portNumber, String userName, String password, DbType dbType)
 
DbType getDbType ()
 
String getHost ()
 
String getPassword ()
 
String getPort ()
 
String getUserName ()
 
void setDbType (DbType db)
 
void setHost (String host)
 
void setPassword (String pass)
 
void setPort (String port)
 
void setUserName (String user)
 

Detailed Description

The intent of this class is to hold any information needed to connect to a remote database server, except for the actual database name. This does not hold information to connect to a local database such as SQLite.

It can be used generically to hold remote database connection information.

Definition at line 30 of file CaseDbConnectionInfo.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.CaseDbConnectionInfo.CaseDbConnectionInfo ( String  hostNameOrIP,
String  portNumber,
String  userName,
String  password,
DbType  dbType 
)

The intent of this class is to hold any information needed to connect to a remote database server, except for the actual database name. This does not hold information to connect to a local database such as SQLite.

It can be used generically to hold remote database connection information.

Parameters
hostNameOrIPthe host name
portNumberthe port number
userNamethe user name
passwordthe password
dbTypethe database type

Definition at line 52 of file CaseDbConnectionInfo.java.

References org.sleuthkit.datamodel.TskData.DbType.SQLITE.

Member Function Documentation

DbType org.sleuthkit.datamodel.CaseDbConnectionInfo.getDbType ( )

Definition at line 63 of file CaseDbConnectionInfo.java.

String org.sleuthkit.datamodel.CaseDbConnectionInfo.getHost ( )

Definition at line 67 of file CaseDbConnectionInfo.java.

String org.sleuthkit.datamodel.CaseDbConnectionInfo.getPassword ( )

Definition at line 79 of file CaseDbConnectionInfo.java.

String org.sleuthkit.datamodel.CaseDbConnectionInfo.getPort ( )

Definition at line 71 of file CaseDbConnectionInfo.java.

String org.sleuthkit.datamodel.CaseDbConnectionInfo.getUserName ( )

Definition at line 75 of file CaseDbConnectionInfo.java.

void org.sleuthkit.datamodel.CaseDbConnectionInfo.setDbType ( DbType  db)

Definition at line 83 of file CaseDbConnectionInfo.java.

void org.sleuthkit.datamodel.CaseDbConnectionInfo.setHost ( String  host)

Definition at line 87 of file CaseDbConnectionInfo.java.

void org.sleuthkit.datamodel.CaseDbConnectionInfo.setPassword ( String  pass)

Definition at line 99 of file CaseDbConnectionInfo.java.

void org.sleuthkit.datamodel.CaseDbConnectionInfo.setPort ( String  port)

Definition at line 91 of file CaseDbConnectionInfo.java.

void org.sleuthkit.datamodel.CaseDbConnectionInfo.setUserName ( String  user)

Definition at line 95 of file CaseDbConnectionInfo.java.


The documentation for this class was generated from the following file:

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