enum class AnsiColor
ANSI color/graphics extension functions. |
|
enum class BuildInfo
Common build info attributes |
|
object Glyph
Glyph object provides Unicode glyphs as well as it's plain ASCII alternatives. All ASCII glyphs are guaranteed to be the same number of characters as the corresponding Unicode glyphs, so that they line up properly when printed on a terminal. The orginal data file is taken from "Dart term_glyph" project. |
|
enum class JSSEProp
JSSE system properties for customization. |
|
enum class KeyStoreType
Java KeyStore types. |
|
object Platform
A platform is a unique combination of CPU architecture and operating system. This class attempts to determine the platform it is executing on by examining and normalizing the os.arch and os.name system properties. |
|
class SavingTrustManager : X509TrustManager
An X509TrustManager to save the server/client cert chains. |
typealias AnsiEsc = String |
val CACerts: String
Returns the file name of the default JDK CA trust store. |
|
val CACertsKeyStore: KeyStore
Returns the default JDK CA trust store. |
|
const val ESC: AnsiEsc
Escape unicode in hex. |
|
val FILE_SEP: String |
|
val LINE_SEP: String |
|
const val NBSP_CODEPOINT: Int
These extension are copied from https://github.com/xenomachina/xenocom. |
|
val PemCertPattern: Regex
PEM regex pattern for cert and private key (Header + Base64 Text + Footer) |
|
val PemKeyPattern: Regex |
|
val RAND: Random
Pseudo Random number generator. |
|
const val SPACE: String
Common extension functions. |
|
val ip_regex: Regex
IPV4 regex pattern |
|
val isTTY: Boolean
Returns true if you are running in a terminal. |
fun codePointWidth(ucs: Int): Int
Returns an estimated cell width of a Unicode code point when displayed on a monospace terminal. Possible return values are -1, 0, 1 or 2. Control characters (other than null) and Del return -1. |
|
fun columnize(vararg s: String, minWidths: IntArray? = null): String |
|
fun esc(vararg codes: Int): AnsiEsc
Returns an ANSI escape unicode from a list of integers. |
|
fun exit(status: Int, msg: () -> String = null): Unit
Exits the system with msg |
|
fun getSSLContext(protocol: String = "Default", keyManagers: Array<out X509KeyManager>? = null, trustManagers: Array<out X509TrustManager>? = null, secureRandom: SecureRandom? = null): SSLContext
Returns a SSLContext instance for given protocol and X509 key and trust store managers. TrustManagers decide whether to allow connections and KeyManagers decide which key material to use. |
|
fun main(args: Array<String>): Unit |