/
File Chooser and File I/O File Chooser and File I/O

File Chooser and File I/O - PowerPoint Presentation

mitsue-stanley
mitsue-stanley . @mitsue-stanley
Follow
410 views
Uploaded On 2017-03-29

File Chooser and File I/O - PPT Presentation

Alex Roberts and Caleb Powell What does the File Chooser accomplish Easy and simple way to create a system for selecting files Output the action taken by the user Utilize Javas inheritance abilities ID: 531157

docs file http files file docs files http chooser html api javase oracle common code user declaration invocation java

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "File Chooser and File I/O" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

File Chooser and File I/O

Alex Roberts and Caleb PowellSlide2

What does the File Chooser accomplish?

Easy and simple way to create a system for selecting files

Output the action taken by the user

Utilize Java’s inheritance abilitiesSlide3

Creation and Methods of File Chooser

Declaration:

Invocation

:Slide4

But why File Choosers?

Allows the common user to access files

Creating it takes up one line of code

Used in a lot of common programsSlide5

Why’s File I/O the Bees Knees?

Basic read to files and write to files

Edit text files without opening them

(Buffered streams) Easier to codeSlide6

Establishing and Using File I/O

Declaration:

Invocation:Slide7

Ask not what you can do for File I/O, but what File I/O can do for you.

The basis for loading a save file in a video game

Used in saving this power point

Useful for referencing something from a previous useSlide8

Works Cited

http://

docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html

http://

docs.oracle.com/javase/7/docs/api/java/io/BufferedWriter.html

http

://docs.oracle.com/javase/7/docs/api/javax/swing/JPanel.html