C# Class Summer.Batch.Extra.Utils.ReverseUtils

Reverse Helper.
Afficher le fichier Open project: SummerBatch/SummerBatch

Méthodes publiques

Méthode Description
ConvertBooleanToStringON ( bool boolean ) : string

Convert a bool to "O" or "N" string.

ConvertBooleanToStringYN ( bool boolean ) : string

Convert a bool to "Y" or "N" string.

ConvertStringToBooleanON ( string str ) : bool?

Convert a "O" or "N" string to bool.

ConvertStringToBooleanYN ( string str ) : bool?

Convert a "Y" or "N" string to bool.

IsCharHighValue ( char character ) : bool

Check if the given character is '\\u009F' ASCII value.

IsCharLowValue ( char character ) : bool

Check if the given character is '\\u0000' ASCII value.

IsSpaces ( object obj ) : bool

Check if all attributes of the object, whose types are Number, String or Date, are null or are empty/whitespace strings.

IsStringHighValue ( string str ) : bool

Check if characters of the given string are all '\\u009F' ASCII value.

IsStringLowValue ( string str ) : bool

Check if characters of the given string are all '\\u0000' ASCII value.

Private Methods

Méthode Description
IsAttribute ( Type clazz ) : bool

isAttribute.

IsAttributeNull ( MethodInfo m, object obj ) : bool

isAttributeNull.

IsMethodToBeIgnored ( MethodInfo m ) : bool

IsMethodToBeIgnored.

Method Details

ConvertBooleanToStringON() public static méthode

Convert a bool to "O" or "N" string.
public static ConvertBooleanToStringON ( bool boolean ) : string
boolean bool bool
Résultat string

ConvertBooleanToStringYN() public static méthode

Convert a bool to "Y" or "N" string.
public static ConvertBooleanToStringYN ( bool boolean ) : string
boolean bool bool
Résultat string

ConvertStringToBooleanON() public static méthode

Convert a "O" or "N" string to bool.
public static ConvertStringToBooleanON ( string str ) : bool?
str string string
Résultat bool?

ConvertStringToBooleanYN() public static méthode

Convert a "Y" or "N" string to bool.
public static ConvertStringToBooleanYN ( string str ) : bool?
str string string
Résultat bool?

IsCharHighValue() public static méthode

Check if the given character is '\\u009F' ASCII value.
public static IsCharHighValue ( char character ) : bool
character char character char
Résultat bool

IsCharLowValue() public static méthode

Check if the given character is '\\u0000' ASCII value.
public static IsCharLowValue ( char character ) : bool
character char char
Résultat bool

IsSpaces() public static méthode

Check if all attributes of the object, whose types are Number, String or Date, are null or are empty/whitespace strings.
public static IsSpaces ( object obj ) : bool
obj object objet
Résultat bool

IsStringHighValue() public static méthode

Check if characters of the given string are all '\\u009F' ASCII value.
public static IsStringHighValue ( string str ) : bool
str string string
Résultat bool

IsStringLowValue() public static méthode

Check if characters of the given string are all '\\u0000' ASCII value.
public static IsStringLowValue ( string str ) : bool
str string string
Résultat bool