[]Struct jni_android_sys::java::util::Scanner

#[repr(transparent)]
pub struct Scanner(_);

public final class Scanner

Required feature: java-util-Scanner

Methods

impl Scanner

pub fn new_readable<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Readable>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-lang-Readable"

pub fn new_input_stream<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputStream>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-io-InputStream"

pub fn new_input_stream_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputStream>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-io-InputStream", "java-lang-String"

pub fn new_file<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-io-File"

pub fn new_file_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env File>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-io-File", "java-lang-String"

pub fn new_path<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-nio-file-Path"

pub fn new_path_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Path>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-lang-String", "java-nio-file-Path"

pub fn new_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-lang-String"

pub fn new_readable_byte_channel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ReadableByteChannel>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-nio-channels-ReadableByteChannel"

pub fn new_readable_byte_channel_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ReadableByteChannel>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
[src]

Required features: "java-lang-String", "java-nio-channels-ReadableByteChannel"

pub fn close<'env>(&'env self) -> Result<()>[src]

pub fn io_exception<'env>(
    &'env self
) -> Result<Option<Local<'env, IOException>>>
[src]

ioException

Required features: "java-io-IOException"

pub fn delimiter<'env>(&'env self) -> Result<Option<Local<'env, Pattern>>>[src]

delimiter

Required features: "java-util-regex-Pattern"

pub fn use_delimiter_pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Scanner>>>
[src]

useDelimiter

Required features: "java-util-Scanner", "java-util-regex-Pattern"

pub fn use_delimiter_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Scanner>>>
[src]

useDelimiter

Required features: "java-lang-String", "java-util-Scanner"

pub fn locale<'env>(&'env self) -> Result<Option<Local<'env, Locale>>>[src]

locale

Required features: "java-util-Locale"

pub fn use_locale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, Scanner>>>
[src]

useLocale

Required features: "java-util-Locale", "java-util-Scanner"

pub fn radix<'env>(&'env self) -> Result<i32>[src]

pub fn use_radix<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Scanner>>>
[src]

useRadix

Required features: "java-util-Scanner"

pub fn match<'env>(&'env self) -> Result<Option<Local<'env, MatchResult>>>[src]

match

Required features: "java-util-regex-MatchResult"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

pub fn has_next<'env>(&'env self) -> Result<bool>[src]

pub fn next<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

next

Required features: "java-lang-String"

pub fn remove<'env>(&'env self) -> Result<()>[src]

pub fn has_next_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool>
[src]

hasNext

Required features: "java-lang-String"

pub fn next_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]

next

Required features: "java-lang-String"

pub fn has_next_pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<bool>
[src]

hasNext

Required features: "java-util-regex-Pattern"

pub fn next_pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, String>>>
[src]

next

Required features: "java-lang-String", "java-util-regex-Pattern"

pub fn has_next_line<'env>(&'env self) -> Result<bool>[src]

pub fn next_line<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

nextLine

Required features: "java-lang-String"

pub fn find_in_line_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]

findInLine

Required features: "java-lang-String"

pub fn find_in_line_pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, String>>>
[src]

findInLine

Required features: "java-lang-String", "java-util-regex-Pattern"

pub fn find_within_horizon_string_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<Option<Local<'env, String>>>
[src]

findWithinHorizon

Required features: "java-lang-String"

pub fn find_within_horizon_pattern_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>,
    arg1: i32
) -> Result<Option<Local<'env, String>>>
[src]

findWithinHorizon

Required features: "java-lang-String", "java-util-regex-Pattern"

pub fn skip_pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Scanner>>>
[src]

skip

Required features: "java-util-Scanner", "java-util-regex-Pattern"

pub fn skip_string<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Scanner>>>
[src]

skip

Required features: "java-lang-String", "java-util-Scanner"

pub fn has_next_boolean<'env>(&'env self) -> Result<bool>[src]

pub fn next_boolean<'env>(&'env self) -> Result<bool>[src]

pub fn has_next_byte<'env>(&'env self) -> Result<bool>[src]

pub fn has_next_byte_int<'env>(&'env self, arg0: i32) -> Result<bool>[src]

pub fn next_byte<'env>(&'env self) -> Result<i8>[src]

pub fn next_byte_int<'env>(&'env self, arg0: i32) -> Result<i8>[src]

pub fn has_next_short<'env>(&'env self) -> Result<bool>[src]

pub fn has_next_short_int<'env>(&'env self, arg0: i32) -> Result<bool>[src]

pub fn next_short<'env>(&'env self) -> Result<i16>[src]

pub fn next_short_int<'env>(&'env self, arg0: i32) -> Result<i16>[src]

pub fn has_next_int<'env>(&'env self) -> Result<bool>[src]

pub fn has_next_int_int<'env>(&'env self, arg0: i32) -> Result<bool>[src]

pub fn next_int<'env>(&'env self) -> Result<i32>[src]

pub fn next_int_int<'env>(&'env self, arg0: i32) -> Result<i32>[src]

pub fn has_next_long<'env>(&'env self) -> Result<bool>[src]

pub fn has_next_long_int<'env>(&'env self, arg0: i32) -> Result<bool>[src]

pub fn next_long<'env>(&'env self) -> Result<i64>[src]

pub fn next_long_int<'env>(&'env self, arg0: i32) -> Result<i64>[src]

pub fn has_next_float<'env>(&'env self) -> Result<bool>[src]

pub fn next_float<'env>(&'env self) -> Result<f32>[src]

pub fn has_next_double<'env>(&'env self) -> Result<bool>[src]

pub fn next_double<'env>(&'env self) -> Result<f64>[src]

pub fn has_next_big_integer<'env>(&'env self) -> Result<bool>[src]

pub fn has_next_big_integer_int<'env>(&'env self, arg0: i32) -> Result<bool>[src]

pub fn next_big_integer<'env>(
    &'env self
) -> Result<Option<Local<'env, BigInteger>>>
[src]

nextBigInteger

Required features: "java-math-BigInteger"

pub fn next_big_integer_int<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]

nextBigInteger

Required features: "java-math-BigInteger"

pub fn has_next_big_decimal<'env>(&'env self) -> Result<bool>[src]

pub fn next_big_decimal<'env>(
    &'env self
) -> Result<Option<Local<'env, BigDecimal>>>
[src]

nextBigDecimal

Required features: "java-math-BigDecimal"

pub fn reset<'env>(&'env self) -> Result<Option<Local<'env, Scanner>>>[src]

reset

Required features: "java-util-Scanner"

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]

pub fn wait<'env>(&'env self) -> Result<()>[src]

Trait Implementations

impl AsRef<Iterator> for Scanner

impl AsRef<Closeable> for Scanner

impl Deref for Scanner

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Scanner

impl AsJValue for Scanner

Auto Trait Implementations

impl !Sync for Scanner

impl !Send for Scanner

impl Unpin for Scanner

impl RefUnwindSafe for Scanner

impl UnwindSafe for Scanner

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]