[−]Struct jni_android_sys::java::util::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Readable>>
) -> Result<Local<'env, Scanner>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<Local<'env, Scanner>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, 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>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>
) -> Result<Local<'env, 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>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, 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>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Path>>
) -> Result<Local<'env, 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>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Path>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, 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>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ReadableByteChannel>>
) -> Result<Local<'env, Scanner>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ReadableByteChannel>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, Scanner>>
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]
&'env self
) -> Result<Option<Local<'env, IOException>>>
Required features: "java-io-IOException"
pub fn delimiter<'env>(&'env self) -> Result<Option<Local<'env, Pattern>>>
[src]
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]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Scanner>>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Scanner>>>
Required features: "java-lang-String", "java-util-Scanner"
pub fn locale<'env>(&'env self) -> Result<Option<Local<'env, Locale>>>
[src]
Required features: "java-util-Locale"
pub fn use_locale<'env>(
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, Scanner>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, Scanner>>>
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]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Scanner>>>
Required features: "java-util-Scanner"
pub fn match<'env>(&'env self) -> Result<Option<Local<'env, MatchResult>>>
[src]
Required features: "java-util-regex-MatchResult"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
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]
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn next_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn has_next_pattern<'env>(
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<bool>
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]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, String>>>
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]
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
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]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, String>>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, String>>>
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]
&'env self,
arg0: impl Into<Option<&'env Pattern>>,
arg1: i32
) -> Result<Option<Local<'env, String>>>
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]
&'env self,
arg0: impl Into<Option<&'env Pattern>>
) -> Result<Option<Local<'env, Scanner>>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Scanner>>>
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]
&'env self
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn next_big_integer_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, BigInteger>>>
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]
&'env self
) -> Result<Option<Local<'env, BigDecimal>>>
Required features: "java-math-BigDecimal"
pub fn reset<'env>(&'env self) -> Result<Option<Local<'env, Scanner>>>
[src]
Required features: "java-util-Scanner"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>
[src]
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
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
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,