Hi all,
I want to get gdf file or other file with friends map by java.
Help me, please?
How to get gdf file from by java desktop app
-
- Posts:8
- Joined:05 Dec 2013 04:07
- Location:Việt Nam [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: How to get gdf file from by java desktop app
may be gexf file or many kind of file that gephi toolkip support.? help... help.....
Re: How to get gdf file from by java desktop app
Sorry your question is not entirely clear. Could you rephrase it a bit?
Best,
Clement
Best,
Clement
-
- Posts:8
- Joined:05 Dec 2013 04:07
- Location:Việt Nam [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: How to get gdf file from by java desktop app
I can't load gdf file with gephi toolkit. Here is my code:
String s = "C://abc.gdf";//in C: had abc.gdf
File file = Utilities.toFile(getClass().getResource(s).toURI());
container = importController.importFile(file);
container.getLoader().setEdgeDefault(EdgeDefault.DIRECTED); //Force DIRECTED
container.setAllowAutoNode(false); //Don't create missing nodes
=> pointer is null
String s = "/resources//abc.gdf";// in folder resources had abc.gdf
File file = Utilities.toFile(getClass().getResource(s).toURI());
container = importController.importFile(file);
container.getLoader().setEdgeDefault(EdgeDefault.DIRECTED); //Force DIRECTED
container.setAllowAutoNode(false); //Don't create missing nodes
=> run ok
I built it become *.jar and can't load abc.gdf.... help meeeeeeeeeeeeeeeeeeeeeee
String s = "C://abc.gdf";//in C: had abc.gdf
File file = Utilities.toFile(getClass().getResource(s).toURI());
container = importController.importFile(file);
container.getLoader().setEdgeDefault(EdgeDefault.DIRECTED); //Force DIRECTED
container.setAllowAutoNode(false); //Don't create missing nodes
=> pointer is null
String s = "/resources//abc.gdf";// in folder resources had abc.gdf
File file = Utilities.toFile(getClass().getResource(s).toURI());
container = importController.importFile(file);
container.getLoader().setEdgeDefault(EdgeDefault.DIRECTED); //Force DIRECTED
container.setAllowAutoNode(false); //Don't create missing nodes
=> run ok
I built it become *.jar and can't load abc.gdf.... help meeeeeeeeeeeeeeeeeeeeeee