Mercurial > cgi-bin > hgweb.cgi > ClipMan
comparison src/name/blackcap/clipman/RtfToHtml.kt @ 31:0c6c18a733b7
Compiles, new menu still a mess.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 30 Jan 2020 16:01:51 -0800 |
parents | 8aa2dfac27eb |
children |
comparison
equal
deleted
inserted
replaced
30:0e88c6bed11e | 31:0c6c18a733b7 |
---|---|
11 import java.io.IOException | 11 import java.io.IOException |
12 import java.io.InputStream | 12 import java.io.InputStream |
13 import java.io.OutputStream | 13 import java.io.OutputStream |
14 import java.io.UnsupportedEncodingException | 14 import java.io.UnsupportedEncodingException |
15 | 15 |
16 private val RTF_CHARSET_NAME = "UTF-8" | 16 private val RTF_CHARSET_NAME = CHARSET_NAME |
17 private val LANG = "en_US." + RTF_CHARSET_NAME | 17 private val LANG = "en_US." + RTF_CHARSET_NAME |
18 private val UNRTF = System.getenv("UNRTF") | 18 private val UNRTF = System.getenv("UNRTF") |
19 | 19 |
20 private class Consumer(val source: InputStream): Thread() { | 20 private class Consumer(val source: InputStream): Thread() { |
21 val target = ByteArrayOutputStream() | 21 val target = ByteArrayOutputStream() |