File Operations Java
Key Terms
|
Term |
Definition |
|
Binary Files |
Files that store data in machine readable form. |
|
Buffer |
A temporary storage used to hold data until enough has been collected that it is worth transferring. Buffering can be used for both input and output. |
|
Byte Stream Classes |
A type of stream class used for Byte oriented I/O. These are categorized into |
|
Character Stream Classes |
A type of stream class used for Character oriented IO. These are categorized into |
|
File |
A bunch of bytes stored on some storage device. |
|
flush operation |
An operation that forces the buffer to be written to the stream, even if it is not full. This guarantees that the data has actually been written to the destination. |
|
Pageable jobs |
A printing model that offers more flexibility than Printable jobs, as each page can feature a different layout, format, or painter. A Pageable job can have pages in different orientations (portrait and landscape). |
|
Print Job |
A unit of work to be run on a printer, which can consist of printing one or more files. A system job is a unique job number and printer pair that is assigned to each print job as it is received. |
|
Printable jobs |
The simpler of the two printing models. This model only uses one |
|
Scanner Class |
Introduced with J2SE 5.0, this is a useful new class that can parse text for primitive types and substrings using regular expressions. It can obtain text from sources such as a |
|
Streams |
Controlled flows of data from one source to another. The stream classes that you use for input and output purposes are contained in |
|
StreamTokenizer |
A class that takes an input stream and parses it into "tokens," allowing the tokens to be read one at a time. |
|
Text Files |
Files that store characters as per a specific character encoding scheme (e.g., Unicode). |
|
Tokens |
Words in an input string which are separated by delimiters (for example, a space). |
|
Tokenizer classes |
Classes that provide functionality to parse strings or streams. |