All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.curs.adocwrapper.inline.InlineContent.kt Maven / Gradle / Ivy

The newest version!
package ru.curs.adocwrapper.inline

import java.util.ArrayList

open class InlineContent : ArrayList() {
    override fun toString(): String {
        var returnString = ""
        this.forEach { inlineMarkup ->
            returnString += "$inlineMarkup"
        }
        return returnString
    }

    fun toHabrMd(): String {
        var returnString = ""
        this.forEach { inlineMarkup ->
            returnString += inlineMarkup.toHabrMd()
        }
        return returnString
    }

    fun toText(): String {
        var returnString = ""
        this.forEach { inlineMarkup ->
            returnString += inlineMarkup.toText()
        }
        return returnString
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy