from Archive Entry
abstract fun fromArchiveEntry(archive: Any, entryPath: String, charset: String): TextResource(source)
Creates a text resource backed by the archive entry at the given path within the given archive. The archive format is determined based on the archive's file extension. If the archive format is not supported or cannot be determined, any attempt to access the resource will fail with an exception.
Return
a text resource backed by the archive entry at the given path within the given archive
Parameters
archive
an archive file evaluated as per files
entry Path
the path to an archive entry
charset
the archive entry's character encoding (e.g. "utf-8"
)
Same as fromArchiveEntry(archive, path, Charset.defaultCharset().name())
.