Click or drag to resize

StringUtils Class

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Miscellaneuos utility methods for string manipulation.
Inheritance Hierarchy
SystemObject
  Tangosol.UtilStringUtils

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public abstract class StringUtils

The StringUtils type exposes the following members.

Constructors
  NameDescription
Protected methodStringUtils
Initializes a new instance of the StringUtils class
Top
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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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.)
Top
See Also