Class Scanner
public class Scanner : Iterator<String>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IIterator<String>
- Inheritance
-
JVMBridgeBaseScanner
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Iterator<String>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Iterator<String>>.IsAssignableFrom<T>()JVMBridgeBase<Iterator<String>>.Execute<T>(params T[])JVMBridgeBase<Iterator<String>>.DynBridgeClazzJVMBridgeBase<Iterator<String>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Scanner()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Scanner()
Scanner(File)
public Scanner(File arg0)
Parameters
Exceptions
Scanner(File, String)
public Scanner(File arg0, String arg1)
Parameters
Exceptions
Scanner(File, Charset)
public Scanner(File arg0, Charset arg1)
Parameters
Exceptions
Scanner(InputStream)
public Scanner(InputStream arg0)
Parameters
arg0
InputStream
Scanner(InputStream, String)
public Scanner(InputStream arg0, String arg1)
Parameters
arg0
InputStreamarg1
String
Scanner(InputStream, Charset)
public Scanner(InputStream arg0, Charset arg1)
Parameters
arg0
InputStreamarg1
Charset
Scanner(Readable)
public Scanner(Readable arg0)
Parameters
Scanner(String)
public Scanner(String arg0)
Parameters
Scanner(ReadableByteChannel)
public Scanner(ReadableByteChannel arg0)
Parameters
Scanner(ReadableByteChannel, String)
public Scanner(ReadableByteChannel arg0, String arg1)
Parameters
arg0
ReadableByteChannelarg1
String
Scanner(ReadableByteChannel, Charset)
public Scanner(ReadableByteChannel arg0, Charset arg1)
Parameters
arg0
ReadableByteChannelarg1
Charset
Scanner(Path)
public Scanner(Path arg0)
Parameters
Exceptions
Scanner(Path, String)
public Scanner(Path arg0, String arg1)
Parameters
Exceptions
Scanner(Path, Charset)
public Scanner(Path arg0, Charset arg1)
Parameters
Exceptions
Scanner(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Scanner(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Close()
public void Close()
Delimiter()
public Pattern Delimiter()
Returns
FindAll(String)
public Stream<MatchResult> FindAll(String arg0)
Parameters
Returns
FindAll(Pattern)
public Stream<MatchResult> FindAll(Pattern arg0)
Parameters
Returns
FindInLine(String)
public String FindInLine(String arg0)
Parameters
Returns
FindInLine(Pattern)
public String FindInLine(Pattern arg0)
Parameters
Returns
FindWithinHorizon(String, int)
public String FindWithinHorizon(String arg0, int arg1)
Parameters
Returns
FindWithinHorizon(Pattern, int)
public String FindWithinHorizon(Pattern arg0, int arg1)
Parameters
Returns
HasNext()
public bool HasNext()
Returns
HasNext(String)
public bool HasNext(String arg0)
Parameters
Returns
HasNext(Pattern)
public bool HasNext(Pattern arg0)
Parameters
Returns
HasNextBigDecimal()
public bool HasNextBigDecimal()
Returns
HasNextBigInteger()
public bool HasNextBigInteger()
Returns
HasNextBigInteger(int)
public bool HasNextBigInteger(int arg0)
Parameters
Returns
HasNextBoolean()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Scanner.html#hasNextBoolean()
public bool HasNextBoolean()
Returns
HasNextByte()
public bool HasNextByte()
Returns
HasNextByte(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Scanner.html#hasNextByte(int)
public bool HasNextByte(int arg0)
Parameters
Returns
HasNextDouble()
public bool HasNextDouble()
Returns
HasNextFloat()
public bool HasNextFloat()
Returns
HasNextInt()
public bool HasNextInt()
Returns
HasNextInt(int)
public bool HasNextInt(int arg0)
Parameters
Returns
HasNextLine()
public bool HasNextLine()
Returns
HasNextLong()
public bool HasNextLong()
Returns
HasNextLong(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Scanner.html#hasNextLong(int)
public bool HasNextLong(int arg0)
Parameters
Returns
HasNextShort()
public bool HasNextShort()
Returns
HasNextShort(int)
public bool HasNextShort(int arg0)
Parameters
Returns
IoException()
public IOException IoException()
Returns
Locale()
public Locale Locale()
Returns
Match()
public MatchResult Match()
Returns
Next()
public object Next()
Returns
Next(String)
public String Next(String arg0)
Parameters
Returns
Next(Pattern)
public String Next(Pattern arg0)
Parameters
Returns
NextBigDecimal()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Scanner.html#nextBigDecimal()
public BigDecimal NextBigDecimal()
Returns
NextBigInteger()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Scanner.html#nextBigInteger()
public BigInteger NextBigInteger()
Returns
NextBigInteger(int)
public BigInteger NextBigInteger(int arg0)
Parameters
Returns
NextBoolean()
public bool NextBoolean()
Returns
NextByte()
public byte NextByte()
Returns
NextByte(int)
public byte NextByte(int arg0)
Parameters
Returns
NextDouble()
public double NextDouble()
Returns
NextFloat()
public float NextFloat()
Returns
NextInt()
public int NextInt()
Returns
NextInt(int)
public int NextInt(int arg0)
Parameters
Returns
NextLine()
public String NextLine()
Returns
NextLong()
public long NextLong()
Returns
NextLong(int)
public long NextLong(int arg0)
Parameters
Returns
NextShort()
public short NextShort()
Returns
NextShort(int)
public short NextShort(int arg0)
Parameters
Returns
Radix()
public int Radix()
Returns
Remove()
public void Remove()
Reset()
public Scanner Reset()
Returns
Skip(String)
public Scanner Skip(String arg0)
Parameters
Returns
Skip(Pattern)
public Scanner Skip(Pattern arg0)
Parameters
Returns
Tokens()
public Stream<String> Tokens()
Returns
UseDelimiter(String)
public Scanner UseDelimiter(String arg0)
Parameters
Returns
UseDelimiter(Pattern)
public Scanner UseDelimiter(Pattern arg0)
Parameters
Returns
UseLocale(Locale)
public Scanner UseLocale(Locale arg0)
Parameters
Returns
UseRadix(int)
public Scanner UseRadix(int arg0)
Parameters
Returns
Operators
implicit operator Closeable(Scanner)
public static implicit operator Closeable(Scanner t)
Parameters
t
Scanner