|
|
# Software Design
|
|
|
|
|
|
>>>
|
|
|
**Notes about the configuration files and parser:**
|
|
|
- first thoughts about possible formats: INI, JSON, XML
|
|
|
- readability for normal users?
|
|
|
- easily parseable?
|
|
|
- structure of the files: First section with general properties, following sections with page formats containing format specific properties
|
|
|
|
|
|
INI format:
|
|
|
- windows specific format
|
|
|
- good readability, but:
|
|
|
- no native support in Java, third party lib necessary
|
|
|
|
|
|
JSON & XML:
|
|
|
- not very readable for normal users
|
|
|
- syntax can easily be broken unintentionally -> not parseable if broken
|
|
|
|
|
|
Instead: Java Properties?
|
|
|
- native support (java.util.Properties)
|
|
|
- allows same division into sections
|
|
|
- easy list-like syntax similar to INI -> good readability
|
|
|
- Syntax: *section.property=value*
|
|
|
>>>
|
|
|
Leonard
|
|
|
|
|
|
## The pipeline
|
|
|
|
|
|
This chapter focuses on the functional and data flow of the `BraillePlot` command line application.
|
... | ... | |