代码搜索:BufferedReader
找到约 6,329 项符合「BufferedReader」的源代码
代码结果 6,329
www.eeworm.com/read/127767/14335944
txt e034. reading text from standard input.txt
try {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str = "";
while (str != null) {
System.out.print("> prompt ");
www.eeworm.com/read/127767/14336376
txt e441. using a regular expression to filter lines from a reader.txt
A common use of regular expressions is to find all lines that match a pattern, similar to the grep Unix command. This example reads lines using a BufferedReader and tests each line for a match.
www.eeworm.com/read/127767/14336516
txt e139. accessing a password-protected url.txt
// Install the custom authenticator
Authenticator.setDefault(new MyAuthenticator());
// Access the page
try {
// Create a URL for the desired page
URL url = new
www.eeworm.com/read/127767/14337122
txt e442. implementing a filterreader to filter lines based on a regular expression.txt
A common use of regular expressions is to find all lines that match a pattern, similar to the grep Unix command. This example implements a FilterReader that will filter an input stream based on a patt
www.eeworm.com/read/127767/14337392
txt e035. reading text from a file.txt
try {
BufferedReader in = new BufferedReader(new FileReader("infilename"));
String str;
while ((str = in.readLine()) != null) {
process(str);
}
www.eeworm.com/read/127767/14337990
txt e136. getting text from a url.txt
try {
// Create a URL for the desired page
URL url = new URL("http://hostname:80/index.html");
// Read all the text returned by the server
BufferedReader in =
www.eeworm.com/read/224226/14600982
java car.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Car extends Motorvehicle implements Property
{
int seats; //number of seats
www.eeworm.com/read/221523/14739013
java standardio.java
import java.io.*;
public class StandardIO{
public static void main(String[] args){
String s;
BufferedReader in = new BufferedReader(
new InputStreamReader(System.in));
Syste
www.eeworm.com/read/119198/14837578
java spellchecker.java
/*
* Checker.java
*
* Created on 2004年12月15日, 下午9:31
*/
package spellchecker;
import java.util.regex.*;
import java.io.*;
/**
*
* @author infant
*/
public class SpellChecker
www.eeworm.com/read/117246/14842209
java basicio.java
package javalancs ;
import java.io.* ;
/**
* simple methods for basic input/output (Java 1.1)
* @author Roger Garside
* @version Last Rewritten: 16/Sept/97
*/
public class BasicIo
{