Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide an easier way to read a configuration file #39

Open
samthiriot opened this issue Dec 7, 2017 · 1 comment
Open

provide an easier way to read a configuration file #39

samthiriot opened this issue Dec 7, 2017 · 1 comment
Assignees

Comments

@samthiriot
Copy link
Collaborator

It is now (after some refactoring already - before the expected class was expected !:


new GenstarJsonUtil().unmarchalConfigurationFileFromGenstarJson(
					 Paths.get("src/test/resources/rouen_demographics/rouen_demographics.gns"));

we might expect instead a GenstarConfigurationFile.loadFromJson(...) which would not require the user to discover the concept of a class, create an instance, and "unmarshall"

@samthiriot samthiriot self-assigned this Dec 7, 2017
@samthiriot
Copy link
Collaborator Author

same for writing a configuration file:
try { new GenstarJsonUtil().marshalToGenstarJson(relativePath.resolve(CONF_EXPORT), gcf, false); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }

is not the easiest way for a user to just to a "saveToFile"!

@chapuisk chapuisk modified the milestones: Input Data, Genstar configuration file Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants