Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / BinaryData / Java BinaryData - setFromString
In This Topic
    Java BinaryData - setFromString
    In This Topic
    public setFromString(String stringData, String encoding) throws LtInvalidParamException;

    public static String HexEncoding = "Hex";
    public static String Base64Encoding = "Base64";
      Property Description  
        Property Constructor  
        Argument - stringData A string containing encoded binary data  
        Argument - encoding The type of encoding used, the 2 options supported are HexEncoding & Base64Encoding, which are defined as static properties (see above)  
        Description Initilises the data held by the class  
        Remarks May throw an execption if the data encoded in stringData, is not valid for the encoding described in encoding.