public class ConsoleSetup extends Object
| Constructor and Description |
|---|
ConsoleSetup() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getAllImportStatements()
Return a sequence of import statements to prepare a just-instantiated
Gremlin-Groovy interpreter.
|
static List<String> |
getNonStaticImports() |
static List<String> |
getStaticImports() |
static void |
main(String[] args)
Write a properties file with two properties: imports and staticimports.
|
public static List<String> getAllImportStatements()
public static void main(String[] args) throws FileNotFoundException
getNonStaticImports()
and getStaticImports(), respectively.args - the file to write (stdout if unspecified)FileNotFoundException - shouldn't happen since we only open the target file for
overwriting and never for appendingCopyright © 2012–2014. All rights reserved.