fun String.createJSONArray(): JSONArray?
create JSONArray from String  | 
|
fun String.createJSONObject(): JSONObject?
create JSONObject from String  | 
|
fun String.getBitmap(): Bitmap?
get bitmap from filePath  | 
|
fun String.getFileExtension(): String
get extensions of given file path  | 
|
fun String.getImageHeight(): Int
get Height of Image which given String  | 
|
fun String.getImageMimeType(): String
get MimeType of Image which given String  | 
|
fun String.getImageWidth(): Int
get Width of Image which given String  | 
|
fun String.getVideoHeight(): Int
get Height of Video which given String  | 
|
fun String.getVideoWidth(): Int
get Width of Video which given String  | 
|
fun String.isEmpty(): Boolean
return string empty state  | 
|
fun String.isEmptyOrReturn(default: String = ""): String
get string with empty handling  | 
|
fun String.isExistReadFile(): Boolean
Test given path is exists and can read  | 
|
fun String.parseDate(format: String? = "yyyy-MM-dd HH:mm:ss"): Date?
parsing date from String  | 
|
fun String.safeBigDecimal(default: BigDecimal = BigDecimal.ZERO): BigDecimal
safe cast String to BigDecimal  | 
|
fun String.safeBigInteger(radix: Int = 10, default: BigInteger = BigInteger.ZERO): BigInteger
safe cast String to BigInteger  | 
|
fun String.safeByte(radix: Int = 10, default: Byte = 0): Byte
safe cast String to Byte  | 
|
fun String.safeDouble(default: Double = 0.0): Double
safe cast String to Double  | 
|
fun String.safeFloat(default: Float = 0.0f): Float
safe cast String to Float  | 
|
fun String.safeInt(radix: Int = 10, default: Int = 0): Int
safe cast String to Int  | 
|
fun String.safeLong(radix: Int = 10, default: Long = 0L): Long
safe cast String to Long  | 
|
fun String.safeShort(radix: Int = 10, default: Short = 0): Short
safe cast String to Short  | 
|
fun String.toDateString(fromFormat: String, toFormat: String): String
format formatted date to another formatted date  | 
|
fun String.toFile(): File
make String to File  |