Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
The StringUtils type exposes the following members.
Methods
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 attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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.) |