Github user HansBrende commented on the issue:

    https://github.com/apache/any23/pull/122
  
    **Implementation note:** I considered using the existing `Configuration` 
interface to construct `TripleWriter` instances, but it seemed rather limited, 
in that settings are only validated when they are first used, rather than 
*failing fast*, and they are all stored as strings rather than the actual 
parsed objects they represent. This is good for settings imported from a config 
file or loaded from the command line, but not very easy, type-safe, or 
performant for programmatic configuration.
    
    So instead, I created `Settings`, which could be considered a type-safe 
version of `Configuration`, or a *parsed* configuration. In the future, we 
could add the ability to create a `Settings` object *from* a `Configuration` 
object, given a set of supported settings and a configuration parser. In a 
future PR, I'm planning to implement a similar concept for `Rover`, so that a 
`Settings` object can be parsed from the command line for each writer. E.g., 
instead of having, simply:
    
    ```
    --format mycustomdecorator,notrivial,turtle
    ```
    we could do something like:
    ```
    --format 
mycustomdecorator,notrivial;alwayssuppresscsstriples=true,turtle;prettyprint=true
    ```


---

Reply via email to