C# Class MWS.Helper.StringHelper

Exibir arquivo Open project: Movilizer/.NET_Connector

Public Methods

Method Description
HexToByteArray ( string hex ) : byte[]
IsEmpty ( string str ) : bool
NormalizeString ( string str ) : string
StringToUTF8ByteArray ( String pXmlString ) : Byte[]
ToHexString ( byte ba ) : string
ToHexStringFromFile ( string filePath ) : string
ToHexStringFromResourceCode ( string resourceCode ) : string
ToNoDate ( string dateStr ) : string
ToNotNull ( string str ) : string
UTF8ByteArrayToString ( Byte characters ) : String

Private Methods

Method Description
ToHexStringFromStream ( Stream stream ) : string

Method Details

HexToByteArray() public static method

public static HexToByteArray ( string hex ) : byte[]
hex string
return byte[]

IsEmpty() public static method

public static IsEmpty ( string str ) : bool
str string
return bool

NormalizeString() public static method

public static NormalizeString ( string str ) : string
str string
return string

StringToUTF8ByteArray() public static method

public static StringToUTF8ByteArray ( String pXmlString ) : Byte[]
pXmlString String
return Byte[]

ToHexString() public static method

public static ToHexString ( byte ba ) : string
ba byte
return string

ToHexStringFromFile() public static method

public static ToHexStringFromFile ( string filePath ) : string
filePath string
return string

ToHexStringFromResourceCode() public static method

public static ToHexStringFromResourceCode ( string resourceCode ) : string
resourceCode string
return string

ToNoDate() public static method

public static ToNoDate ( string dateStr ) : string
dateStr string
return string

ToNotNull() public static method

public static ToNotNull ( string str ) : string
str string
return string

UTF8ByteArrayToString() public static method

public static UTF8ByteArrayToString ( Byte characters ) : String
characters Byte
return String