I am writing a CSV exporter in Java that should respect the user\'s custom settings, especially the \"List separator\" to use as a delimiter.
In Windows, one can set
From comments of this answer:
Reading the OS-specific setting is a need I have to meet.
So what if OSs other than Windows don't have such a setting?
I suggest you read it from registry on Windows (as alluded here): Read/write to Windows Registry using Java. On other platforms just use a good default, and perhaps, at least on Unix, also support configuring it via a custom environment variable (which you document well): How can my java code read OS environment variables?.
My gut feeling that OSs universally do not have a (system-wide or user-specific) "List separator" setting may be wrong, of course, but I doubt that.