diff --git a/README.md b/README.md index 4a8fee3..002947e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

kotlin-csv

- Version + Version License: Apache License 2.0 @@ -40,15 +40,15 @@ Pure Kotlin CSV Reader/Writer. for Kotlin DSL ```kotlin -implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.10.0") // for JVM platform -implementation("com.github.doyaaaaaken:kotlin-csv-js:1.10.0") // for Kotlin JS platform +implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.9.3") // for JVM platform +implementation("com.github.doyaaaaaken:kotlin-csv-js:1.9.3") // for Kotlin JS platform ``` for Gradle DSL ```groovy -implementation 'com.github.doyaaaaaken:kotlin-csv-jvm:1.10.0' // for JVM platform -implementation 'com.github.doyaaaaaken:kotlin-csv-js:1.10.0' // for Kotlin JS platform +implementation 'com.github.doyaaaaaken:kotlin-csv-jvm:1.9.3' // for JVM platform +implementation 'com.github.doyaaaaaken:kotlin-csv-js:1.9.3' // for Kotlin JS platform ``` ### Maven @@ -57,20 +57,20 @@ implementation 'com.github.doyaaaaaken:kotlin-csv-js:1.10.0' // for Kotlin JS pl com.github.doyaaaaaken kotlin-csv-jvm - 1.10.0 + 1.9.3 com.github.doyaaaaaken kotlin-csv-js - 1.10.0 + 1.9.3 ``` ### [kscript](https://github.com/holgerbrandl/kscript) ```kotlin -@file:DependsOn("com.github.doyaaaaaken:kotlin-csv-jvm:1.10.0") // for JVM platform -@file:DependsOn("com.github.doyaaaaaken:kotlin-csv-js:1.10.0") // for Kotlin JS platform +@file:DependsOn("com.github.doyaaaaaken:kotlin-csv-jvm:1.9.3") // for JVM platform +@file:DependsOn("com.github.doyaaaaaken:kotlin-csv-js:1.9.3") // for Kotlin JS platform ``` ## Examples diff --git a/build.gradle.kts b/build.gradle.kts index 3e1b521..10acd96 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,8 +7,8 @@ plugins { jacoco } -group = "com.jsoizo" -version = "1.10.0" +group = "com.github.doyaaaaaken" +version = "1.9.3" buildscript { repositories { @@ -90,7 +90,7 @@ publishing { url.set("https://github.com/jsoizo/kotlin-csv") organization { - name.set("com.jzoizo") + name.set("com.github.doyaaaaaken") url.set("https://github.com/jsoizo") } licenses { diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/BufferedLineReader.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/BufferedLineReader.kt similarity index 92% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/client/BufferedLineReader.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/BufferedLineReader.kt index 9f61556..5d63ed7 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/BufferedLineReader.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/BufferedLineReader.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.util.Const /** * buffered reader which can read line with line terminator diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvFileReader.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileReader.kt similarity index 90% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvFileReader.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileReader.kt index 3434d09..3577ab0 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvFileReader.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileReader.kt @@ -1,13 +1,13 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext -import com.jzoizo.kotlincsv.dsl.context.ExcessFieldsRowBehaviour -import com.jzoizo.kotlincsv.dsl.context.InsufficientFieldsRowBehaviour -import com.jzoizo.kotlincsv.parser.CsvParser -import com.jzoizo.kotlincsv.util.CSVAutoRenameFailedException -import com.jzoizo.kotlincsv.util.CSVFieldNumDifferentException -import com.jzoizo.kotlincsv.util.logger.Logger -import com.jzoizo.kotlincsv.util.MalformedCSVException +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.ExcessFieldsRowBehaviour +import com.github.doyaaaaaken.kotlincsv.dsl.context.InsufficientFieldsRowBehaviour +import com.github.doyaaaaaken.kotlincsv.parser.CsvParser +import com.github.doyaaaaaken.kotlincsv.util.CSVAutoRenameFailedException +import com.github.doyaaaaaken.kotlincsv.util.CSVFieldNumDifferentException +import com.github.doyaaaaaken.kotlincsv.util.logger.Logger +import com.github.doyaaaaaken.kotlincsv.util.MalformedCSVException /** * CSV Reader class, which controls file I/O flow. diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt similarity index 78% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt index 543956f..5e31eb5 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext /** * CSV Reader class diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt similarity index 82% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt index 2b972a0..69d8148 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvWriterContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext /** * CSV Writer class diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/ICsvFileWriter.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/ICsvFileWriter.kt similarity index 82% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/client/ICsvFileWriter.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/ICsvFileWriter.kt index fef0d52..18e2537 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/ICsvFileWriter.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/ICsvFileWriter.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client interface ICsvFileWriter { fun writeRow(row: List) diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/Reader.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Reader.kt similarity index 97% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/client/Reader.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Reader.kt index 6235588..c689056 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/client/Reader.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Reader.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client internal interface Reader { /** diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/CsvReaderDsl.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvReaderDsl.kt similarity index 76% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/CsvReaderDsl.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvReaderDsl.kt index fc304e2..7b6a036 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/CsvReaderDsl.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvReaderDsl.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.dsl +package com.github.doyaaaaaken.kotlincsv.dsl -import com.jzoizo.kotlincsv.client.CsvReader -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.client.CsvReader +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext /** * DSL Method which provides `CsvReader` diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/CsvWriterDsl.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvWriterDsl.kt similarity index 76% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/CsvWriterDsl.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvWriterDsl.kt index 9ff1d4c..7706ba9 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/CsvWriterDsl.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvWriterDsl.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.dsl +package com.github.doyaaaaaken.kotlincsv.dsl -import com.jzoizo.kotlincsv.client.CsvWriter -import com.jzoizo.kotlincsv.dsl.context.CsvWriterContext +import com.github.doyaaaaaken.kotlincsv.client.CsvWriter +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext /** * DSL Method which provides `CsvWriter` diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvReaderContext.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvReaderContext.kt similarity index 92% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvReaderContext.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvReaderContext.kt index e37a2e9..ca520a0 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvReaderContext.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvReaderContext.kt @@ -1,9 +1,9 @@ -package com.jzoizo.kotlincsv.dsl.context +package com.github.doyaaaaaken.kotlincsv.dsl.context -import com.jzoizo.kotlincsv.util.Const -import com.jzoizo.kotlincsv.util.CsvDslMarker -import com.jzoizo.kotlincsv.util.logger.Logger -import com.jzoizo.kotlincsv.util.logger.LoggerNop +import com.github.doyaaaaaken.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.util.CsvDslMarker +import com.github.doyaaaaaken.kotlincsv.util.logger.Logger +import com.github.doyaaaaaken.kotlincsv.util.logger.LoggerNop /** * Interface for CSV Reader settings diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvWriteQuoteContext.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvWriteQuoteContext.kt similarity index 89% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvWriteQuoteContext.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvWriteQuoteContext.kt index 80248a6..01c6228 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvWriteQuoteContext.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvWriteQuoteContext.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.dsl.context +package com.github.doyaaaaaken.kotlincsv.dsl.context -import com.jzoizo.kotlincsv.util.CsvDslMarker +import com.github.doyaaaaaken.kotlincsv.util.CsvDslMarker /** * DSL method for Quote settings on writing csv. diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvWriterContext.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvWriterContext.kt similarity index 92% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvWriterContext.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvWriterContext.kt index e79e9e1..20f0c9f 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/dsl/context/CsvWriterContext.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/context/CsvWriterContext.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.dsl.context +package com.github.doyaaaaaken.kotlincsv.dsl.context -import com.jzoizo.kotlincsv.util.Const -import com.jzoizo.kotlincsv.util.CsvDslMarker +import com.github.doyaaaaaken.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.util.CsvDslMarker /** * Interface for CSV Writer settings diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/parser/CsvParser.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/parser/CsvParser.kt similarity index 95% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/parser/CsvParser.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/parser/CsvParser.kt index 4afd527..47cfe65 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/parser/CsvParser.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/parser/CsvParser.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.parser +package com.github.doyaaaaaken.kotlincsv.parser /** * Csv Parse logic while reading csv diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/parser/ParseStateMachine.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/parser/ParseStateMachine.kt similarity index 97% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/parser/ParseStateMachine.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/parser/ParseStateMachine.kt index 0b279b2..7dd2989 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/parser/ParseStateMachine.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/parser/ParseStateMachine.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.parser +package com.github.doyaaaaaken.kotlincsv.parser -import com.jzoizo.kotlincsv.util.CSVParseFormatException -import com.jzoizo.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.util.CSVParseFormatException +import com.github.doyaaaaaken.kotlincsv.util.Const /** * @author doyaaaaaaken diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/CSVException.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/CSVException.kt similarity index 96% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/util/CSVException.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/CSVException.kt index ed70c04..5451608 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/CSVException.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/CSVException.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.util +package com.github.doyaaaaaken.kotlincsv.util /** * General purpose Exception diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/Const.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/Const.kt similarity index 78% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/util/Const.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/Const.kt index 014ea5c..a5cae91 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/Const.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/Const.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.util +package com.github.doyaaaaaken.kotlincsv.util /** * Constant variables used in this project diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/CsvDslMarker.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/CsvDslMarker.kt similarity index 61% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/util/CsvDslMarker.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/CsvDslMarker.kt index e8efa7f..cf61f5e 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/CsvDslMarker.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/CsvDslMarker.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.util +package com.github.doyaaaaaken.kotlincsv.util /** * @author doyaaaaaken diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/logger/Logger.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/logger/Logger.kt similarity index 58% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/util/logger/Logger.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/logger/Logger.kt index b029935..92b55e6 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/logger/Logger.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/logger/Logger.kt @@ -1,9 +1,9 @@ -package com.jzoizo.kotlincsv.util.logger +package com.github.doyaaaaaken.kotlincsv.util.logger /** * Logger interface for logging debug statements at runtime. * Library consumers may provide implementations suiting their needs. - * @see [com.jzoizo.kotlincsv.dsl.context.ICsvReaderContext.logger] + * @see [com.github.doyaaaaaken.kotlincsv.dsl.context.ICsvReaderContext.logger] */ interface Logger { fun info(message: String) diff --git a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/logger/LoggerNop.kt b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/logger/LoggerNop.kt similarity index 76% rename from src/commonMain/kotlin/com/jsoizo/kotlincsv/util/logger/LoggerNop.kt rename to src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/logger/LoggerNop.kt index c5a343b..4893d7d 100644 --- a/src/commonMain/kotlin/com/jsoizo/kotlincsv/util/logger/LoggerNop.kt +++ b/src/commonMain/kotlin/com/github/doyaaaaaken/kotlincsv/util/logger/LoggerNop.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.util.logger +package com.github.doyaaaaaken.kotlincsv.util.logger /** * Internal no-operation logger implementation, which does not log anything. diff --git a/src/jsMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt b/src/jsMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt similarity index 78% rename from src/jsMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt rename to src/jsMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt index 0c5bbc7..7792b44 100644 --- a/src/jsMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt +++ b/src/jsMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext -import com.jzoizo.kotlincsv.dsl.context.ICsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.ICsvReaderContext /** * CSV Reader class diff --git a/src/jsMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt b/src/jsMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt similarity index 85% rename from src/jsMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt rename to src/jsMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt index 2ece34c..a52ad8f 100644 --- a/src/jsMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt +++ b/src/jsMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvWriterContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext /** * CSV Writer class diff --git a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/Annotation.kt b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Annotation.kt similarity index 83% rename from src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/Annotation.kt rename to src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Annotation.kt index a8cfc8f..5a62e94 100644 --- a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/Annotation.kt +++ b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Annotation.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client @RequiresOptIn( message = "This API is experimental. It may be changed in the future without notice.", diff --git a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvFileWriter.kt b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileWriter.kt similarity index 94% rename from src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvFileWriter.kt rename to src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileWriter.kt index bd3a7b2..eb92589 100644 --- a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvFileWriter.kt +++ b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileWriter.kt @@ -1,8 +1,8 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvWriterContext -import com.jzoizo.kotlincsv.dsl.context.WriteQuoteMode -import com.jzoizo.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.WriteQuoteMode +import com.github.doyaaaaaken.kotlincsv.util.Const import java.io.Closeable import java.io.Flushable import java.io.IOException diff --git a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt similarity index 97% rename from src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt rename to src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt index 9fe68f2..a02256e 100644 --- a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvReader.kt +++ b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReader.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext -import com.jzoizo.kotlincsv.dsl.context.ICsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.ICsvReaderContext import java.io.File import java.io.InputStream import java.nio.charset.Charset diff --git a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt similarity index 96% rename from src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt rename to src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt index 3f6f7d0..c3adf1a 100644 --- a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/CsvWriter.kt +++ b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvWriterContext -import com.jzoizo.kotlincsv.dsl.context.ICsvWriterContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.ICsvWriterContext import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import java.io.* diff --git a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/Reader.kt b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Reader.kt similarity index 91% rename from src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/Reader.kt rename to src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Reader.kt index 4eb210d..9b8281a 100644 --- a/src/jvmMain/kotlin/com/jsoizo/kotlincsv/client/Reader.kt +++ b/src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/Reader.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client import java.io.InputStream import java.nio.charset.Charset diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/BufferedLineReaderTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/BufferedLineReaderTest.kt similarity index 98% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/BufferedLineReaderTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/BufferedLineReaderTest.kt index a2d671e..018425b 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/BufferedLineReaderTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/BufferedLineReaderTest.kt @@ -1,4 +1,4 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client import io.kotest.assertions.assertSoftly import io.kotest.core.spec.style.StringSpec diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvFileWriterTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileWriterTest.kt similarity index 98% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvFileWriterTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileWriterTest.kt index f2af59e..4021679 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvFileWriterTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvFileWriterTest.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.csvWriter +import com.github.doyaaaaaken.kotlincsv.dsl.csvWriter import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.WordSpec import io.kotest.matchers.shouldBe diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvReadWriteCompatibilityTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReadWriteCompatibilityTest.kt similarity index 79% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvReadWriteCompatibilityTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReadWriteCompatibilityTest.kt index 2948277..4809de2 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvReadWriteCompatibilityTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReadWriteCompatibilityTest.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.csvReader -import com.jzoizo.kotlincsv.dsl.csvWriter +import com.github.doyaaaaaken.kotlincsv.dsl.csvReader +import com.github.doyaaaaaken.kotlincsv.dsl.csvWriter import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe import java.io.File diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvReaderTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReaderTest.kt similarity index 96% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvReaderTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReaderTest.kt index 629f39f..df92f47 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvReaderTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvReaderTest.kt @@ -1,13 +1,13 @@ -package com.jzoizo.kotlincsv.client - -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext -import com.jzoizo.kotlincsv.dsl.context.ExcessFieldsRowBehaviour -import com.jzoizo.kotlincsv.dsl.context.InsufficientFieldsRowBehaviour -import com.jzoizo.kotlincsv.dsl.csvReader -import com.jzoizo.kotlincsv.util.CSVFieldNumDifferentException -import com.jzoizo.kotlincsv.util.CSVParseFormatException -import com.jzoizo.kotlincsv.util.Const -import com.jzoizo.kotlincsv.util.MalformedCSVException +package com.github.doyaaaaaken.kotlincsv.client + +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.ExcessFieldsRowBehaviour +import com.github.doyaaaaaken.kotlincsv.dsl.context.InsufficientFieldsRowBehaviour +import com.github.doyaaaaaken.kotlincsv.dsl.csvReader +import com.github.doyaaaaaken.kotlincsv.util.CSVFieldNumDifferentException +import com.github.doyaaaaaken.kotlincsv.util.CSVParseFormatException +import com.github.doyaaaaaken.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.util.MalformedCSVException import io.kotest.assertions.assertSoftly import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.WordSpec diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvWriterTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriterTest.kt similarity index 97% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvWriterTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriterTest.kt index f50c550..511dfcf 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/CsvWriterTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriterTest.kt @@ -1,9 +1,9 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvWriterContext -import com.jzoizo.kotlincsv.dsl.context.WriteQuoteMode -import com.jzoizo.kotlincsv.dsl.csvWriter -import com.jzoizo.kotlincsv.util.Const +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext +import com.github.doyaaaaaken.kotlincsv.dsl.context.WriteQuoteMode +import com.github.doyaaaaaken.kotlincsv.dsl.csvWriter +import com.github.doyaaaaaken.kotlincsv.util.Const import io.kotest.assertions.assertSoftly import io.kotest.core.spec.style.WordSpec import io.kotest.matchers.shouldBe diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/StringReaderTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/StringReaderTest.kt similarity index 93% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/StringReaderTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/StringReaderTest.kt index 17a52d1..93f55da 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/client/StringReaderTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/client/StringReaderTest.kt @@ -1,10 +1,10 @@ -package com.jzoizo.kotlincsv.client +package com.github.doyaaaaaken.kotlincsv.client -import com.jzoizo.kotlincsv.dsl.context.CsvReaderContext -import com.jzoizo.kotlincsv.util.CSVFieldNumDifferentException -import com.jzoizo.kotlincsv.util.CSVParseFormatException -import com.jzoizo.kotlincsv.util.MalformedCSVException -import com.jzoizo.kotlincsv.util.logger.LoggerNop +import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvReaderContext +import com.github.doyaaaaaken.kotlincsv.util.CSVFieldNumDifferentException +import com.github.doyaaaaaken.kotlincsv.util.CSVParseFormatException +import com.github.doyaaaaaken.kotlincsv.util.MalformedCSVException +import com.github.doyaaaaaken.kotlincsv.util.logger.LoggerNop import io.kotest.assertions.assertSoftly import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.WordSpec diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/dsl/CsvReaderDslTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvReaderDslTest.kt similarity index 83% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/dsl/CsvReaderDslTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvReaderDslTest.kt index 7d371c2..c99ae7e 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/dsl/CsvReaderDslTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvReaderDslTest.kt @@ -1,8 +1,8 @@ -package com.jzoizo.kotlincsv.dsl +package com.github.doyaaaaaken.kotlincsv.dsl -import com.jzoizo.kotlincsv.client.CsvReader -import com.jzoizo.kotlincsv.dsl.context.ExcessFieldsRowBehaviour -import com.jzoizo.kotlincsv.dsl.context.InsufficientFieldsRowBehaviour +import com.github.doyaaaaaken.kotlincsv.client.CsvReader +import com.github.doyaaaaaken.kotlincsv.dsl.context.ExcessFieldsRowBehaviour +import com.github.doyaaaaaken.kotlincsv.dsl.context.InsufficientFieldsRowBehaviour import io.kotest.assertions.assertSoftly import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/dsl/CsvWriterDslTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvWriterDslTest.kt similarity index 87% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/dsl/CsvWriterDslTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvWriterDslTest.kt index 62fc835..bd2d51a 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/dsl/CsvWriterDslTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/dsl/CsvWriterDslTest.kt @@ -1,7 +1,7 @@ -package com.jzoizo.kotlincsv.dsl +package com.github.doyaaaaaken.kotlincsv.dsl -import com.jzoizo.kotlincsv.client.CsvWriter -import com.jzoizo.kotlincsv.dsl.context.WriteQuoteMode +import com.github.doyaaaaaken.kotlincsv.client.CsvWriter +import com.github.doyaaaaaken.kotlincsv.dsl.context.WriteQuoteMode import io.kotest.assertions.assertSoftly import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe diff --git a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/parser/CsvParserTest.kt b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/parser/CsvParserTest.kt similarity index 95% rename from src/jvmTest/kotlin/com/jsoizo/kotlincsv/parser/CsvParserTest.kt rename to src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/parser/CsvParserTest.kt index 2abe216..4ea8f0e 100644 --- a/src/jvmTest/kotlin/com/jsoizo/kotlincsv/parser/CsvParserTest.kt +++ b/src/jvmTest/kotlin/com/github/doyaaaaaken/kotlincsv/parser/CsvParserTest.kt @@ -1,6 +1,6 @@ -package com.jzoizo.kotlincsv.parser +package com.github.doyaaaaaken.kotlincsv.parser -import com.jzoizo.kotlincsv.util.CSVParseFormatException +import com.github.doyaaaaaken.kotlincsv.util.CSVParseFormatException import io.kotest.assertions.assertSoftly import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.WordSpec