comparison src/main/kotlin/name/blackcap/passman/ImportExportArguments.kt @ 17:4427199eb218

Make escape character RFC4180 compliant by default.
author David Barts <n5jrn@me.com>
date Sun, 05 Feb 2023 11:14:25 -0800
parents 7a74ae668665
children
comparison
equal deleted inserted replaced
16:7a74ae668665 17:4427199eb218
1 package name.blackcap.passman 1 package name.blackcap.passman
2 2
3 class ImportExportArguments { 3 class ImportExportArguments {
4 private companion object { 4 private companion object {
5 const val D_CHARSET = "UTF-8" 5 const val D_CHARSET = "UTF-8"
6 const val D_ESCAPE = '\\' 6 const val D_ESCAPE = '"'
7 const val D_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" 7 const val D_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
8 const val D_QUOTE = '"' 8 const val D_QUOTE = '"'
9 const val D_SEPARATOR = ',' 9 const val D_SEPARATOR = ','
10 const val D_ZONE = "UTC" 10 const val D_ZONE = "UTC"
11 } 11 }