cassis.database
public class FileDataBaseConnection extends java.lang.Object implements DataBaseConnection
NOT_IN_DATABASE| Constructor and Description |
|---|
FileDataBaseConnection(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
double |
buildQt(double tex,
int molTag) |
java.lang.String |
extractNbQuantic(java.lang.String line,
int tag) |
java.util.ArrayList<SimpleMoleculeDescriptionDB> |
getAllMoleculeDescriptionDB() |
java.lang.String |
getDataBaseOf(int molTag) |
java.lang.String |
getId() |
java.util.List<LineDescriptionDB> |
getLineDescriptionDB(java.util.List<SimpleMoleculeDescriptionDB> listSimpleMolDB,
double frequencyMin,
double frequencyMax,
double otherThresEupMin,
double otherThresEupMax,
double otherThresAijMin,
double otherTreshAijMax) |
java.util.List<LineDescriptionDB> |
getLineDescriptionDB(MoleculeDescriptionDB molecule,
double freqMinComp,
double freqMaxComp) |
java.util.List<LineDescriptionDB> |
getLineDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB,
double frequencyMin,
double frequencyMax,
double otherThresEupMin,
double otherThresEupMax,
double otherThresAijMin,
double otherTreshAijMax) |
MoleculeDescriptionDB |
getMoleculeDescriptionDB(SimpleMoleculeDescriptionDB simpleMoleculDB) |
java.lang.String |
getMolName(int molTag) |
boolean |
testDatabaseConnection(javax.swing.JFrame frame) |
java.lang.String |
tradCaractere(java.lang.String j) |
public MoleculeDescriptionDB getMoleculeDescriptionDB(SimpleMoleculeDescriptionDB simpleMoleculDB)
getMoleculeDescriptionDB in interface DataBaseConnectionpublic java.lang.String getMolName(int molTag)
getMolName in interface DataBaseConnectionpublic double buildQt(double tex,
int molTag)
buildQt in interface DataBaseConnectionpublic java.util.List<LineDescriptionDB> getLineDescriptionDB(MoleculeDescriptionDB molecule, double freqMinComp, double freqMaxComp)
getLineDescriptionDB in interface DataBaseConnectionpublic java.lang.String extractNbQuantic(java.lang.String line,
int tag)
line - tag - the tag of the molecule of the transitionspublic java.lang.String tradCaractere(java.lang.String j)
public java.util.List<LineDescriptionDB> getLineDescriptionDB(SimpleMoleculeDescriptionDB simpleMolDB, double frequencyMin, double frequencyMax, double otherThresEupMin, double otherThresEupMax, double otherThresAijMin, double otherTreshAijMax)
getLineDescriptionDB in interface DataBaseConnectionpublic boolean testDatabaseConnection(javax.swing.JFrame frame)
testDatabaseConnection in interface DataBaseConnectionpublic java.util.ArrayList<SimpleMoleculeDescriptionDB> getAllMoleculeDescriptionDB()
getAllMoleculeDescriptionDB in interface DataBaseConnectionpublic java.lang.String getDataBaseOf(int molTag)
getDataBaseOf in interface DataBaseConnectionpublic java.util.List<LineDescriptionDB> getLineDescriptionDB(java.util.List<SimpleMoleculeDescriptionDB> listSimpleMolDB, double frequencyMin, double frequencyMax, double otherThresEupMin, double otherThresEupMax, double otherThresAijMin, double otherTreshAijMax)
getLineDescriptionDB in interface DataBaseConnectionpublic java.lang.String getId()
getId in interface DataBaseConnection