[]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>, Local<'env, Throwable>>
[src]

Scanner

Required features: "java-lang-Readable"

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

Scanner

Required features: "java-io-InputStream"

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

Scanner

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>, Local<'env, Throwable>>
[src]

Scanner

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>, Local<'env, Throwable>>
[src]

Scanner

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>, Local<'env, Throwable>>
[src]

Scanner

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>, Local<'env, Throwable>>
[src]

Scanner

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>, Local<'env, Throwable>>
[src]

Scanner

Required features: "java-lang-String"

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

Scanner

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

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

Scanner

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

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

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

ioException

Required features: "java-io-IOException"

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

delimiter

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

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

useDelimiter

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

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

useDelimiter

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

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

locale

Required features: "java-util-Locale"

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

useLocale

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

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

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

useRadix

Required features: "java-util-Scanner"

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

match

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

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

toString

Required features: "java-lang-String"

pub fn hasNext<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

next

Required features: "java-lang-String"

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

pub fn hasNext_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[src]

next

Required features: "java-lang-String"

pub fn hasNext_Pattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>
) -> Result<bool, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[src]

next

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

pub fn hasNextLine<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

nextLine

Required features: "java-lang-String"

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

findInLine

Required features: "java-lang-String"

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

findInLine

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

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

findWithinHorizon

Required features: "java-lang-String"

pub fn findWithinHorizon_Pattern_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Pattern>>,
    arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
[src]

skip

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

pub fn hasNextBoolean<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn nextBoolean<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn hasNextByte<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

pub fn nextByte<'env>(&'env self) -> Result<i8, Local<'env, Throwable>>[src]

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

pub fn hasNextShort<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

pub fn nextShort<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

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

pub fn hasNextInt<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

pub fn nextInt<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

pub fn hasNextLong<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

pub fn nextLong<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

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

pub fn hasNextFloat<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn nextFloat<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>[src]

pub fn hasNextDouble<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn nextDouble<'env>(&'env self) -> Result<f64, Local<'env, Throwable>>[src]

pub fn hasNextBigInteger<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

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

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

nextBigInteger

Required features: "java-math-BigInteger"

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

nextBigInteger

Required features: "java-math-BigInteger"

pub fn hasNextBigDecimal<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

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

nextBigDecimal

Required features: "java-math-BigDecimal"

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

reset

Required features: "java-util-Scanner"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

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

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

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

Trait Implementations

impl AsJValue for Scanner

impl AsRef<Closeable> for Scanner

impl AsRef<Iterator> for Scanner

impl AsValidJObjectAndEnv for Scanner

impl Deref for Scanner

type Target = Object

The resulting type after dereferencing.

impl JniType for Scanner

Auto Trait Implementations

impl RefUnwindSafe for Scanner

impl !Send for Scanner

impl !Sync for Scanner

impl Unpin for Scanner

impl UnwindSafe for Scanner

Blanket Implementations

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

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

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

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.