Searched refs:Scanner (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
H A DOldScannerTest.java27 import java.util.Scanner;
34 private Scanner s;
39 s = new Scanner("123test");
46 s = new Scanner("12345test1234test next");
123 s = new Scanner("test");
127 s = new Scanner("aa\n\rb");
145 s = new Scanner("");
158 s = new Scanner("1 fish 2 fish red fish blue fish");
179 s = new Scanner("test");
188 s = new Scanner("word
[all...]
/libcore/luni/src/main/java/java/util/
H A DScanner.java50 * Scanner s = new Scanner("1A true");
56 * <p>A {@code Scanner} can also find or skip specific patterns without regard for the
60 * The {@code Scanner} class is not thread-safe.
62 public final class Scanner implements Iterator<String> { class in inherits:Iterator
149 * Creates a {@code Scanner} with the specified {@code File} as input. The default charset
157 public Scanner(File src) throws FileNotFoundException { method in class:Scanner
162 * Creates a {@code Scanner} with the specified {@code File} as input. The specified charset
174 public Scanner(File src, String charsetName) throws FileNotFoundException { method in class:Scanner
192 * Creates a {@code Scanner} o
197 public Scanner(String src) { method in class:Scanner
209 public Scanner(InputStream src) { method in class:Scanner
224 public Scanner(InputStream src, String charsetName) { method in class:Scanner
242 public Scanner(Readable src) { method in class:Scanner
257 public Scanner(ReadableByteChannel src) { method in class:Scanner
272 public Scanner(ReadableByteChannel src, String charsetName) { method in class:Scanner
[all...]

Completed in 323 milliseconds