Constructor Summary | |
PrintWriter(String filename) throws FileNotFoundException
Creates a new PrintWriter, without automatic line flushing, with the specified file name. |
Method Summary | |
void |
close()
Close the stream. |
void |
println(String x)
Print a String. |
void |
println(String x)
Print a String and then terminate the line. |
Constructor Summary | |
---|---|
FileInputStream(String name) throws FileNotFoundException
Creates a FileInputStream by
opening a connection to an actual file,
the file named by the path name name
in the file system. |
Constructor Summary | |
---|---|
Scanner(InputStream source)
Constructs a new Scanner that produces values scanned
from the specified input stream. |
Method Summary | |
---|---|
String |
nextLine()
Advances this scanner past the current line and returns the input that was skipped. |