mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-06-28 15:24:43 +02:00
15 lines
341 B
Java
15 lines
341 B
Java
package com.Acrobot.ChestShop.Database;
|
|
|
|
import java.io.File;
|
|
|
|
/**
|
|
* @author Andrzej Pomirski (Acrobot)
|
|
*/
|
|
public class ConnectionManager {
|
|
private static final String URI_STRING = "jdbc:sqlite:%s";
|
|
|
|
public static String getURI(File databaseFile) {
|
|
return String.format(URI_STRING, databaseFile.getAbsolutePath());
|
|
}
|
|
}
|