Udostępnij za pośrednictwem


Scanner.UseDelimiter Method

Definition

Overloads

UseDelimiter(String)

Sets this scanner's delimiting pattern to a pattern constructed from the specified String.

UseDelimiter(Pattern)

Sets this scanner's delimiting pattern to the specified pattern.

UseDelimiter(String)

Sets this scanner's delimiting pattern to a pattern constructed from the specified String.

[Android.Runtime.Register("useDelimiter", "(Ljava/lang/String;)Ljava/util/Scanner;", "")]
public Java.Util.Scanner? UseDelimiter (string? pattern);
[<Android.Runtime.Register("useDelimiter", "(Ljava/lang/String;)Ljava/util/Scanner;", "")>]
member this.UseDelimiter : string -> Java.Util.Scanner

Parameters

pattern
String

A string specifying a delimiting pattern

Returns

this scanner

Attributes

Remarks

Java documentation for java.util.Scanner.useDelimiter(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

UseDelimiter(Pattern)

Sets this scanner's delimiting pattern to the specified pattern.

[Android.Runtime.Register("useDelimiter", "(Ljava/util/regex/Pattern;)Ljava/util/Scanner;", "")]
public Java.Util.Scanner? UseDelimiter (Java.Util.Regex.Pattern? pattern);
[<Android.Runtime.Register("useDelimiter", "(Ljava/util/regex/Pattern;)Ljava/util/Scanner;", "")>]
member this.UseDelimiter : Java.Util.Regex.Pattern -> Java.Util.Scanner

Parameters

pattern
Pattern

A delimiting pattern

Returns

this scanner

Attributes

Remarks

Java documentation for java.util.Scanner.useDelimiter(java.util.regex.Pattern).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to