Click or drag to resize

IStringJavaObject Interface

Interface to manage JVM string objects without move the memory between CLR and JVM

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public interface IStringJavaObject

The IStringJavaObject type exposes the following members.

Properties
 NameDescription
Public propertyIsNullOrEmptyIndicates whether the specified string is null or an Empty string.
Public propertyIsNullOrWhiteSpaceIndicates whether a specified string is null, empty, or consists only of white-space characters.
Top
Methods
 NameDescription
Public methodCompareTo(IStringJavaObject)Extends CompareTo(String) to compare against another IStringJavaObject
Public methodCompareTo(String)Compares this instance with a specified String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string.
Public methodContains(Char)Returns a value indicating whether a specified substring occurs within this string.
Public methodContains(IStringJavaObject)Extends Contains(String) to compare against another IStringJavaObject
Public methodContains(String)Returns a value indicating whether a specified substring occurs within this string.
Public methodEndsWith(IStringJavaObject)Extends EndsWith(String) to compare against another IStringJavaObject
Public methodEndsWith(String)Determines whether the end of this string instance matches the specified string.
Public methodEquals(IStringJavaObject)Extends Equals(String) to compare against another IStringJavaObject
Public methodEquals(String)Determines whether this instance and another specified String object have the same value.
Public methodIndexOf(Char)Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
Public methodIndexOf(IStringJavaObject)Extends IndexOf(String) to compare against another IStringJavaObject
Public methodIndexOf(String)Reports the zero-based index of the first occurrence of the specified string in this instance.
Public methodIndexOfAnyReports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
Public methodLastIndexOf(Char)Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
Public methodLastIndexOf(IStringJavaObject)Extends LastIndexOf(String) to compare against another IStringJavaObject
Public methodLastIndexOf(String)Reports the zero-based index position of the last occurrence of a specified string within this instance.
Public methodLastIndexOfAnyReports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
Public methodStartsWith(IStringJavaObject)Extends StartsWith(String) to compare against another IStringJavaObject
Public methodStartsWith(String)Determines whether the beginning of this string instance matches the specified string.
Top
See Also