public class VoIDTool extends Object
| Modifier and Type | Field and Description |
|---|---|
FileWriter |
file |
| Constructor and Description |
|---|
VoIDTool(File f1,
String fileName)
Reads the database file passed and creates a text file with the name passes containing the RDF data from the database.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendStrToFile(String fileName,
String str)
This function adds data to a file without overriding the existing data
|
void |
createRDF()
this method creates RDF file from the derby database passed through the CLI Tool
|
void |
initDatabases() |
static void |
main(String[] args) |
static void |
printUsage() |
void |
run() |
public FileWriter file
public VoIDTool(File f1, String fileName) throws IOException
f1 - database filefileName - name of the file to be createIOExceptionpublic void appendStrToFile(String fileName, String str)
fileName - the file in which the rdf data is to be added.str - the string that is to be added to the file.public void initDatabases()
throws IDMapperException
IDMapperExceptionpublic void createRDF()
throws SQLException,
IDMapperException
SQLExceptionIDMapperExceptionpublic void run()
throws IDMapperException,
SQLException
IDMapperExceptionSQLExceptionpublic static void printUsage()
public static void main(String[] args) throws IOException, IDMapperException, SQLException
IOExceptionIDMapperExceptionSQLExceptionCopyright © 2006–2021 BridgeDb project. All rights reserved.