Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The StringUtils type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBreakLines(String, Int32, String)
Breaks the specified string into a multi-line string.
Public methodStatic memberBreakLines(String, Int32, String, Boolean)
Breaks the specified string into a multi-line string.
Public methodStatic memberByteArrayToHexString
Convert a byte array to a hex string of 2 hex digits per byte.
Public methodStatic memberDup(Char, Int32)
Create a String of the specified length containing the specified character.
Public methodStatic memberDup(String, Int32)
Create a String which is a duplicate of the specified number of the passed String.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberEscape
Format a char to a printable escape if necessary, putting the result into the passed array.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHexStringToByteArray
Convert a hex string to a byte array.
Public methodStatic memberIsNullOrEmpty
Returns true if specified string is null or empty, false otherwise.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberToBandwidthString
Format the passed bandwidth (in bytes per second) as a String.
Public methodStatic memberToCharEscape
Format a char to a printable escape if necessary.
Public methodStatic memberToDecString
Format the passed integer as a fixed-length decimal string.
Public methodStatic memberToMemorySizeString
Format the passed memory size (in bytes) as a String.
Public methodStatic memberToOracleVersion
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)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also