Replace most parts with Kotlin equivalents
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / text / Part.kt
diff --git a/src/main/kotlin/net/pterodactylus/sone/text/Part.kt b/src/main/kotlin/net/pterodactylus/sone/text/Part.kt
new file mode 100644 (file)
index 0000000..8633ec1
--- /dev/null
@@ -0,0 +1,11 @@
+package net.pterodactylus.sone.text
+
+/**
+ * A part is a single piece of information that can be displayed as a single
+ * element. How the part is displayed is not part of the [Part] specification.
+ */
+interface Part {
+
+       val text: String
+
+}