vncore / com.venuenext.vncore.http / PercentEncode

PercentEncode

class PercentEncode

PercentEncode VenueNext

Created on 1/29/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Constructors

<init>

PercentEncode VenueNext

PercentEncode(safeList: String, m_ConvertSpace: Boolean)

Functions

appendEncoded

Append encoded string.

fun appendEncoded(builder: StringBuilder, s: String): Unit

appendPartiallyEncoded

Append partially encoded string.

fun appendPartiallyEncoded(builder: StringBuilder, s: String): Unit

encode

Encodes string with character set.

fun encode(s: String?, charset: Charset): String?
fun encode(s: String, charset: String = "UTF-8"): String?

isRetained

Checks if character is retained in safe char list.

fun isRetained(c: Char): Boolean

Companion Object Properties

ENCODE_OAUTH

val ENCODE_OAUTH: String