StringUtils Class |
Namespace: Tangosol.Util
public abstract class StringUtils
The StringUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() | StringUtils | Initializes a new instance of the StringUtils class |
Name | Description | |
---|---|---|
![]() ![]() | BreakLines(String, Int32, String) |
Breaks the specified string into a multi-line string.
|
![]() ![]() | BreakLines(String, Int32, String, Boolean) |
Breaks the specified string into a multi-line string.
|
![]() ![]() | ByteArrayToHexString |
Convert a byte array to a hex string of 2 hex digits per byte.
|
![]() ![]() | Dup(Char, Int32) |
Create a String of the specified length containing the specified
character.
|
![]() ![]() | Dup(String, Int32) |
Create a String which is a duplicate of the specified number of
the passed String.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | Escape |
Format a char to a printable escape if necessary, putting the
result into the passed array.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | HexStringToByteArray |
Convert a hex string to a byte array.
|
![]() ![]() | IsNullOrEmpty |
Returns true if specified string is null or empty,
false otherwise.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToBandwidthString |
Format the passed bandwidth (in bytes per second) as a String.
|
![]() ![]() | ToCharEscape |
Format a char to a printable escape if necessary.
|
![]() ![]() | ToDecString |
Format the passed integer as a fixed-length decimal string.
|
![]() ![]() | ToMemorySizeString |
Format the passed memory size (in bytes) as a String.
|
![]() ![]() | ToOracleVersion |
Convert a .NET Version object to an Oracle version string.
Oracle version number can have 5 numbers (N.N.N.N.N) while .NET
version number can only have up to 4 numbers (N.N.N.N). So to
represent Oracle version in .NET version format, the 4th .NET
version number is a combination of the 4th and 5th Oracle version
numbers as follows:
4th .NET number = 4th Oracle number * 1000 + 5th Oracle number;
4th Oracle number = int (4th .NET number / 1000);
5th Oracle number = 4th .NET number - 4th Oracle number * 1000;
e.g.
12.1.2.1 (.NET) ==> 12.1.2.0.1 (Oracle)
12.1.2.1001 (.NET) ==> 12.1.2.1.1 (Oracle)
12.1.2 (.NET) ==> 12.1.2.0.0 (Oracle)
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |