Package x

Class Str

java.lang.Object
th.co.skylogicsystem.skyframework.core.utils.string.StringUtility
x.Str

public class Str extends th.co.skylogicsystem.skyframework.core.utils.string.StringUtility
Deprecate!!!!!! this class will be move to x package.
Author:
Sakdsitt Likhitmetagool
  • Constructor Summary

    Constructors
    Constructor
    Description
    Str()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    activeListInMenu(String baseAppList, th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin)
    xxxxxx
    static String
    addCSStringToCurrentList(String currentValues, String newValue)
    Add new string value to comma separate string
    static String
    booleanToString(boolean input)
    Check Boolean value and return string "true" or "false"
    static List<String>
    csstringToList(String currentValues)
    Convert comma separate string to List of String
    static String
    format(double value, String pattern)
    Double value formatting Ex. pattern "#.##", "###,###
    static String
    format(float value, String pattern)
    float value formatting Ex. pattern "#.##", "###,###
    static String
    format(long value, String pattern)
    Long value formatting Ex. pattern "#.##", "###,###
    static int
    Return positive hash integer
    static String
    Convert List of String to comma separate string
    static String
    Convert List Value to String.
    static String
    Convert Map Value to String.
    static String
    Return only character by remove other

    Methods inherited from class th.co.skylogicsystem.skyframework.core.utils.string.StringUtility

    a1, a2, a3, add4CSVString, beforeBigBracket, beforeBracket, cardid, char1nlimit, classpathToFileList, CollectionOfArrayListStringToStringArray2Dimension, concatStringClassName, convertProgramNameToSkyLogicSystemClassName, convertReturnString, convertStringToDouble, convertStringToInt, convertStringToLong, convertURLToStringName, convertWithURLDecode, csvAddSQuote, csvToListString, csvToStringArray, double2d, doubledy, errToString, escape, escapeHTML, find, findAllContentInPattern, findAllInBigBracket, findAllInBracket, findContentInPattern, findContentInPatternPOS, findReplaceWithPattern, findReplaceWithPatternInPattern, firstParam, fixedLongToString, front_pname, fWord, get1CDomain4EMail, get1CName4EMail, get1CNameDomain4EMail, getClassNamefromPackage, getClassNamefromPackageSTD, getExtension, getFileExtension, getFilename, getName, getPackage, getURLPath, getURLResource, isCSV, isEmpty, isEmpty, isURLEncode, jsonAtoAList, jsonAtoCodeString, jsonlToList, jsonToMap, lastParam, limit, limitBig, long2d, main, notEmpty, notEmpty, nullToFalse, nullToString, nullToZero, numParam, objectToString, objectToStringWithSingleQuote, queryStringToMap, queryStringToMapWithURLDecode, remove4CSVString, removeChar, removeEndChar, removeEndWith, removeHeadTrailChar, replace, replaceLast, replaceNST, secondParam, slower, split, splitParam, splitQuery, splitString, splitToSet, startWithLowerCase, startWithUpperCase, str2double, str2long, stringToBoolean, supper, toBidiMap, toList, toMap, toMapWithEqual, toStr, unescape, unescapeHTML, urldecode, urlencode

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Str

      public Str()
  • Method Details

    • mapValueToString

      public static String mapValueToString(Map<Integer,String> inMap)
      Convert Map Value to String.
    • listValueToString

      public static String listValueToString(List inList)
      Convert List Value to String.
    • booleanToString

      public static String booleanToString(boolean input)
      Check Boolean value and return string "true" or "false"
    • addCSStringToCurrentList

      public static String addCSStringToCurrentList(String currentValues, String newValue)
      Add new string value to comma separate string
    • csstringToList

      public static List<String> csstringToList(String currentValues)
      Convert comma separate string to List of String
    • listToCSString

      public static String listToCSString(List<String> list)
      Convert List of String to comma separate string
    • onlyChar

      public static String onlyChar(String s)
      Return only character by remove other
    • format

      public static String format(double value, String pattern)
      Double value formatting Ex. pattern "#.##", "###,###.##"
    • format

      public static String format(float value, String pattern)
      float value formatting Ex. pattern "#.##", "###,###.##"
    • format

      public static String format(long value, String pattern)
      Long value formatting Ex. pattern "#.##", "###,###.##"
    • hashint

      public static int hashint(String s)
      Return positive hash integer
    • activeListInMenu

      public static String activeListInMenu(String baseAppList, th.co.skylogicsystem.skyframework.core.utils.dynamiclanguage.SCIn scin)
      xxxxxx