...
 
Commits (2)
# Created by https://www.gitignore.io
### Android ###
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
# Gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:
# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml
# Gradle:
# .idea/gradle.xml
# .idea/libraries
# Mongo Explorer plugin:
# .idea/mongoSettings.xml
## File-based project format:
*.ipr
*.iws
## Plugin-specific files:
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
### Gradle ###
.gradle
build/
gradle/
# Ignore Gradle GUI config
gradle-app.setting
gradle.properties
*.iml
*.log
### external libs ###
.svn
[![build status](https://gitlab.com/bitfireAT/dav4android/badges/master/build.svg)](https://gitlab.com/bitfireAT/dav4android/commits/master)
[![build status](https://gitlab.com/bitfireAT/dav4jvm/badges/master/build.svg)](https://gitlab.com/bitfireAT/dav4jvm/commits/master)
# dav4android
# dav4jvm
dav4android is an Android WebDAV/CalDAV/CardDAV library which has
initially been developed for [DAVdroid](https://www.davdroid.com).
dav4jvm is a WebDAV/CalDAV/CardDAV library for JVM (Java/Kotlin). It was
developed for [DAVx⁵](https://www.davx5.com) initially.
Original repository: https://gitlab.com/bitfireAT/dav4android/
Original repository: https://gitlab.com/bitfireAT/dav4jvm/
Generated KDoc: https://bitfireAT.gitlab.io/dav4android/dokka/dav4android/
Generated KDoc: https://bitfireAT.gitlab.io/dav4jvm/dokka/dav4jvm/
## Contact / License
dav4android is licensed under [Mozilla Public License, v. 2.0](LICENSE).
dav4jvm is licensed under [Mozilla Public License, v. 2.0](LICENSE).
For questions, suggestions etc. please use the DAVdroid forum:
https://www.davdroid.com/forums/
For questions, suggestions etc. please use this forum:
https://forums.bitfire.at/category/18/libraries
If you want to contribute, please work in your own repository and then
notify us on your changes so that we can backport them.
......
object Libs {
const val okhttpVersion = "3.12.1"
const val xpp3Version = "1.1.6"
}
import com.jfrog.bintray.gradle.BintrayExtension
import java.util.Date
import org.gradle.jvm.tasks.Jar
import org.jetbrains.dokka.gradle.DokkaTask
plugins {
kotlin("jvm") version "1.3.11"
id("com.github.kukuhyoniatmoko.buildconfigkotlin") version "1.0.5"
id("org.jetbrains.dokka") version "0.9.17"
`maven-publish`
id("com.jfrog.bintray") version "1.8.4"
}
object Libs {
val okhttpVersion = "3.12.1"
val xpp3Version = "1.1.6"
}
repositories {
......@@ -29,3 +36,60 @@ buildConfigKotlin {
buildConfig(name = "okhttpVersion", value = Libs.okhttpVersion)
})
}
group = "at.bitfire.dav4jvm"
version = "0.1"
val java: JavaPluginConvention = convention.getPluginByName("java")
val sourcesJar = task<Jar>("sourcesJar") {
classifier = "sources"
from(java.sourceSets.getByName("main").allSource)
}
val dokkaJar = task<Jar>("dokkaJar") {
dependsOn("dokka")
classifier = "javadoc"
from((tasks.getByName("dokka") as DokkaTask).outputDirectory)
}
publishing {
publications.invoke {
create<MavenPublication>("mavenJava") {
groupId = project.group.toString()
this.artifactId = artifactId
version = project.version.toString()
from(components["java"])
artifact(sourcesJar)
artifact(dokkaJar)
pom {
name.set("dav4jvm")
}
}
}
}
fun findProperty(s: String) = project.findProperty(s) as String?
bintray {
user = findProperty("bintrayUser")
key = findProperty("bintrayApiKey")
publish = true
setPublications("mavenJava")
setConfigurations("archives")
pkg(closureOf<BintrayExtension.PackageConfig> {
repo = "dav4jvm"
name = "dav4jvm"
desc = "WebDAV (including CalDAV, CardDAV) library for the Java virtual machine (Java/Kotlin)"
userOrg = "bitfireat"
websiteUrl = "https://gitlab.com/bitfireAT/dav4jvm"
issueTrackerUrl = "https://forums.bitfire.at/category/18/libraries"
vcsUrl = "https://gitlab.com/bitfireAT/dav4jvm.git"
setLicenses("MPL-2.0")
version(closureOf<BintrayExtension.VersionConfig> {
name = project.version.toString()
released = Date().toString()
})
})
}
<!--
~ This Source Code Form is subject to the terms of the Mozilla Public
~ License, v. 2.0. If a copy of the MPL was not distributed with this
~ file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="at.bitfire.dav4android">
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import okhttp3.*
import okhttp3.Response
......
......@@ -4,13 +4,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import java.util.logging.Logger
object Constants {
var log = Logger.getLogger("dav4android")!!
var log = Logger.getLogger("dav4jvm")!!
const val okhttpVersion = BuildConfig.okhttpVersion
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.exception.DavException
import at.bitfire.dav4android.exception.HttpException
import at.bitfire.dav4jvm.exception.DavException
import at.bitfire.dav4jvm.exception.HttpException
import okhttp3.*
import java.io.IOException
import java.io.StringWriter
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.exception.DavException
import at.bitfire.dav4android.exception.HttpException
import at.bitfire.dav4jvm.exception.DavException
import at.bitfire.dav4jvm.exception.HttpException
import okhttp3.*
import java.io.IOException
import java.io.StringWriter
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.exception.DavException
import at.bitfire.dav4android.exception.HttpException
import at.bitfire.dav4android.property.SyncToken
import at.bitfire.dav4jvm.exception.DavException
import at.bitfire.dav4jvm.exception.HttpException
import at.bitfire.dav4jvm.property.SyncToken
import okhttp3.HttpUrl
import okhttp3.OkHttpClient
import okhttp3.Request
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.exception.*
import at.bitfire.dav4android.property.SyncToken
import at.bitfire.dav4jvm.exception.*
import at.bitfire.dav4jvm.property.SyncToken
import okhttp3.*
import okhttp3.Response
import org.xmlpull.v1.XmlPullParser
......@@ -462,7 +462,7 @@ open class DavResource @JvmOverloads constructor(
if (eventType == XmlPullParser.START_TAG && parser.depth == depth + 1 && parser.namespace == XmlUtils.NS_WEBDAV)
when (parser.name) {
"response" ->
at.bitfire.dav4android.Response.parse(parser, location, callback)
at.bitfire.dav4jvm.Response.parse(parser, location, callback)
"sync-token" ->
XmlUtils.readText(parser)?.let {
responseProperties += SyncToken(it)
......
......@@ -6,7 +6,7 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.xmlpull.v1.XmlPullParser
import java.io.Serializable
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import okhttp3.HttpUrl
import okhttp3.Response
......
......@@ -6,9 +6,9 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.Constants.log
import at.bitfire.dav4jvm.Constants.log
import okhttp3.Protocol
import okhttp3.internal.http.StatusLine
import org.xmlpull.v1.XmlPullParser
......
......@@ -4,9 +4,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.Constants.log
import at.bitfire.dav4jvm.Constants.log
import org.xmlpull.v1.XmlPullParser
import java.io.Serializable
import java.util.*
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.xmlpull.v1.XmlPullParser
import org.xmlpull.v1.XmlPullParserException
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.xmlpull.v1.XmlPullParser
import org.xmlpull.v1.XmlPullParserException
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
object QuotedStringUtils {
......
......@@ -6,10 +6,10 @@
* http://www.gnu.org/licenses/gpl.html
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.Constants.log
import at.bitfire.dav4android.property.ResourceType
import at.bitfire.dav4jvm.Constants.log
import at.bitfire.dav4jvm.property.ResourceType
import okhttp3.HttpUrl
import okhttp3.Protocol
import okhttp3.internal.http.StatusLine
......@@ -200,7 +200,7 @@ data class Response(
}
callback(
at.bitfire.dav4android.Response(
Response(
location,
href!!,
status,
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import okhttp3.HttpUrl
import java.net.URI
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.xmlpull.v1.XmlPullParser
import org.xmlpull.v1.XmlPullParserException
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Response
import java.net.HttpURLConnection
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import at.bitfire.dav4android.Constants
import at.bitfire.dav4android.Error
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Constants
import at.bitfire.dav4jvm.Error
import at.bitfire.dav4jvm.XmlUtils
import okhttp3.MediaType
import okhttp3.Response
import okio.Buffer
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Response
import java.net.HttpURLConnection
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Response
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Response
import java.net.HttpURLConnection
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Response
import java.net.HttpURLConnection
......
......@@ -4,9 +4,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import at.bitfire.dav4android.Constants
import at.bitfire.dav4jvm.Constants
import okhttp3.Response
import okhttp3.internal.http.HttpDate
import java.net.HttpURLConnection
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Response
import java.net.HttpURLConnection
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class AddressData(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class AddressbookDescription(
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class AddressbookHomeSet: HrefListProperty() {
......
......@@ -4,12 +4,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Constants
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Constants
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
import java.util.logging.Level
import java.util.regex.Pattern
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class CalendarData(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class CalendarDescription(
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class CalendarHomeSet: HrefListProperty() {
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class CalendarProxyReadFor: HrefListProperty() {
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class CalendarProxyWriteFor: HrefListProperty() {
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class CalendarTimezone(
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class CalendarUserAddressSet: HrefListProperty() {
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class CreationDate(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
// see RFC 5397: WebDAV Current Principal Extension
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class CurrentUserPrivilegeSet(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class DisplayName(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class GetCTag(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class GetContentLength(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import okhttp3.MediaType
import org.xmlpull.v1.XmlPullParser
......
......@@ -4,12 +4,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.QuotedStringUtils
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.QuotedStringUtils
import at.bitfire.dav4jvm.XmlUtils
import okhttp3.Response
import org.xmlpull.v1.XmlPullParser
......
......@@ -4,12 +4,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Constants
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Constants
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import okhttp3.internal.http.HttpDate
import org.xmlpull.v1.XmlPullParser
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class GroupMembership: HrefListProperty() {
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
import java.util.*
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class QuotaAvailableBytes(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class QuotaUsedBytes(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class ResourceType: Property {
......
......@@ -4,10 +4,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class Source: HrefListProperty() {
......
......@@ -4,12 +4,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Constants
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Constants
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import okhttp3.MediaType
import org.xmlpull.v1.XmlPullParser
import org.xmlpull.v1.XmlPullParserException
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class SupportedCalendarComponentSet(
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
class SupportedReportSet: Property {
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.property
package at.bitfire.dav4jvm.property
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.PropertyFactory
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.PropertyFactory
import at.bitfire.dav4jvm.XmlUtils
import org.xmlpull.v1.XmlPullParser
data class SyncToken(
......
at.bitfire.dav4android.property.AddressbookDescription$Factory
at.bitfire.dav4android.property.AddressbookHomeSet$Factory
at.bitfire.dav4android.property.AddressData$Factory
at.bitfire.dav4android.property.CalendarColor$Factory
at.bitfire.dav4android.property.CalendarData$Factory
at.bitfire.dav4android.property.CalendarDescription$Factory
at.bitfire.dav4android.property.CalendarHomeSet$Factory
at.bitfire.dav4android.property.CalendarProxyReadFor$Factory
at.bitfire.dav4android.property.CalendarProxyWriteFor$Factory
at.bitfire.dav4android.property.CalendarTimezone$Factory
at.bitfire.dav4android.property.CalendarUserAddressSet$Factory
at.bitfire.dav4android.property.CreationDate$Factory
at.bitfire.dav4android.property.CurrentUserPrincipal$Factory
at.bitfire.dav4android.property.CurrentUserPrivilegeSet$Factory
at.bitfire.dav4android.property.DisplayName$Factory
at.bitfire.dav4android.property.GetContentLength$Factory
at.bitfire.dav4android.property.GetContentType$Factory
at.bitfire.dav4android.property.GetCTag$Factory
at.bitfire.dav4android.property.GetETag$Factory
at.bitfire.dav4android.property.GetLastModified$Factory
at.bitfire.dav4android.property.GroupMembership$Factory
at.bitfire.dav4android.property.QuotaAvailableBytes$Factory
at.bitfire.dav4android.property.QuotaUsedBytes$Factory
at.bitfire.dav4android.property.ResourceType$Factory
at.bitfire.dav4android.property.Source$Factory
at.bitfire.dav4android.property.SupportedAddressData$Factory
at.bitfire.dav4android.property.SupportedCalendarComponentSet$Factory
at.bitfire.dav4android.property.SupportedReportSet$Factory
at.bitfire.dav4android.property.SyncToken$Factory
at.bitfire.dav4jvm.property.AddressbookDescription$Factory
at.bitfire.dav4jvm.property.AddressbookHomeSet$Factory
at.bitfire.dav4jvm.property.AddressData$Factory
at.bitfire.dav4jvm.property.CalendarColor$Factory
at.bitfire.dav4jvm.property.CalendarData$Factory
at.bitfire.dav4jvm.property.CalendarDescription$Factory
at.bitfire.dav4jvm.property.CalendarHomeSet$Factory
at.bitfire.dav4jvm.property.CalendarProxyReadFor$Factory
at.bitfire.dav4jvm.property.CalendarProxyWriteFor$Factory
at.bitfire.dav4jvm.property.CalendarTimezone$Factory
at.bitfire.dav4jvm.property.CalendarUserAddressSet$Factory
at.bitfire.dav4jvm.property.CreationDate$Factory
at.bitfire.dav4jvm.property.CurrentUserPrincipal$Factory
at.bitfire.dav4jvm.property.CurrentUserPrivilegeSet$Factory
at.bitfire.dav4jvm.property.DisplayName$Factory
at.bitfire.dav4jvm.property.GetContentLength$Factory
at.bitfire.dav4jvm.property.GetContentType$Factory
at.bitfire.dav4jvm.property.GetCTag$Factory
at.bitfire.dav4jvm.property.GetETag$Factory
at.bitfire.dav4jvm.property.GetLastModified$Factory
at.bitfire.dav4jvm.property.GroupMembership$Factory
at.bitfire.dav4jvm.property.QuotaAvailableBytes$Factory
at.bitfire.dav4jvm.property.QuotaUsedBytes$Factory
at.bitfire.dav4jvm.property.ResourceType$Factory
at.bitfire.dav4jvm.property.Source$Factory
at.bitfire.dav4jvm.property.SupportedAddressData$Factory
at.bitfire.dav4jvm.property.SupportedCalendarComponentSet$Factory
at.bitfire.dav4jvm.property.SupportedReportSet$Factory
at.bitfire.dav4jvm.property.SyncToken$Factory
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import okhttp3.*
import okhttp3.Response
......
......@@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import at.bitfire.dav4android.exception.HttpException
import at.bitfire.dav4android.property.GetETag
import at.bitfire.dav4android.property.SyncToken
import at.bitfire.dav4jvm.exception.HttpException
import at.bitfire.dav4jvm.property.GetETag
import at.bitfire.dav4jvm.property.SyncToken
import okhttp3.OkHttpClient
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
......
......@@ -4,15 +4,15 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
import at.bitfire.dav4android.exception.DavException
import at.bitfire.dav4android.exception.HttpException
import at.bitfire.dav4android.exception.PreconditionFailedException
import at.bitfire.dav4android.property.DisplayName
import at.bitfire.dav4android.property.GetContentType
import at.bitfire.dav4android.property.GetETag
import at.bitfire.dav4android.property.ResourceType
package at.bitfire.dav4jvm
import at.bitfire.dav4jvm.exception.DavException
import at.bitfire.dav4jvm.exception.HttpException
import at.bitfire.dav4jvm.exception.PreconditionFailedException
import at.bitfire.dav4jvm.property.DisplayName
import at.bitfire.dav4jvm.property.GetContentType
import at.bitfire.dav4jvm.property.GetETag
import at.bitfire.dav4jvm.property.ResourceType
import okhttp3.MediaType
import okhttp3.OkHttpClient
import okhttp3.RequestBody
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.junit.Assert.assertTrue
import org.junit.Test
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import okhttp3.HttpUrl
import org.junit.Assert.assertEquals
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.junit.Assert.assertEquals
import org.junit.Test
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import okhttp3.HttpUrl
import org.junit.Assert.*
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android
package at.bitfire.dav4jvm
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
......
......@@ -4,12 +4,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import at.bitfire.dav4android.DavResource
import at.bitfire.dav4android.Property
import at.bitfire.dav4android.XmlUtils
import at.bitfire.dav4android.property.ResourceType
import at.bitfire.dav4jvm.DavResource
import at.bitfire.dav4jvm.Property
import at.bitfire.dav4jvm.XmlUtils
import at.bitfire.dav4jvm.property.ResourceType
import okhttp3.OkHttpClient
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.*
import org.junit.Assert.assertTrue
......
......@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package at.bitfire.dav4android.exception
package at.bitfire.dav4jvm.exception
import okhttp3.Protocol
import okhttp3.Request
......