public class TripleStoreBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
debug
set to true for debugging
|
static int |
exitCode |
protected String |
input |
protected String |
inputformat |
protected String |
output |
static boolean |
testMode |
static String |
VERSION |
Constructor and Description |
---|
TripleStoreBuilder() |
Modifier and Type | Method and Description |
---|---|
static TripleStore |
fromSiDIFFile(File file)
create a TripleStore from the given file
|
TripleStore |
fromSiDIFStream(InputStream in)
create a TripleStore from the given inputstream
|
static TripleStore |
fromSiDIFText(String sidif)
create a TripleStore from the given SiDIF Text
|
void |
handle(Throwable t)
handle the given Throwable (in commandline mode)
|
static void |
main(String[] args)
main routine for TripleStore Builder
|
protected int |
maininstance(String[] args)
main instance - this is the non-static version of main - it will run as a
static main would but return it's exitCode to the static main the static
main will then decide whether to do a System.exit(exitCode) or not.
|
void |
showHelp()
show Help
|
static void |
showVersion()
show the Version
|
void |
usage(String msg)
show a usage
|
public static final String VERSION
public static boolean testMode
public static int exitCode
protected boolean debug
protected String input
protected String output
protected String inputformat
public void handle(Throwable t)
t
- - the throwable to handlepublic static void showVersion()
public void showHelp()
public void usage(String msg)
public static TripleStore fromSiDIFFile(File file) throws Exception
file
- Exception
public TripleStore fromSiDIFStream(InputStream in) throws Exception
in
- Exception
public static TripleStore fromSiDIFText(String sidif) throws Exception
sidif
- Exception
protected int maininstance(String[] args)
args
- - command line argumentspublic static void main(String[] args)
args
- Copyright © 2017. All Rights Reserved.