Right one of the goals I had for the neo4j-shell tools is to extract the actual import / export functionality into separate classes and then make these available via embedded, shell and remote API.
But haven't found time. You can just embed the library, I started to pull out readers / writers here is graphml https://github.com/jexp/neo4j-shell-tools/tree/2.1/src/main/java/org/neo4j/shell/tools/imp/format/graphml <https://github.com/jexp/neo4j-shell-tools/tree/2.1/src/main/java/org/neo4j/shell/tools/imp/format/graphml> Michael > Am 17.02.2015 um 21:07 schrieb Caleb Jones <[email protected]>: > > My thought is to just duplicate what's done in the source code here: > https://github.com/jexp/neo4j-shell-tools/blob/2.1/src/main/java/org/neo4j/shell/tools/imp/ImportGraphMLApp.java > > But I'm curious if there's a better way. > > On Tuesday, February 17, 2015 at 10:26:11 AM UTC-8, Caleb Jones wrote: > I've used the neo4j-shell-tools to load GraphML into Neo4j. What I'm curious > about is whether there's a way to programmatically do so from Java using > Neo4j APIs. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
