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.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
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 methodCompareToCompares 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(String)Returns a value indicating whether a specified substring occurs within this string.
Public methodEndsWithDetermines whether the end of this string instance matches the specified string.
Public methodEqualsDetermines 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(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(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 methodStartsWithDetermines whether the beginning of this string instance matches the specified string.
Top
See Also