站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Class java.io.FileNotFoundException (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.io.FileNotFoundException

Packages that use FileNotFoundException
java.io Provides for system input and output through data streams, serialization and the file system. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
javax.imageio.stream A package of the Java Image I/O API dealing with low-level I/O from files and streams. 
 

Uses of FileNotFoundException in java.io
 

Constructors in java.io that throw FileNotFoundException
FileInputStream(File file)
          Creates a FileInputStream by opening a connection to an actual file, the file named by the File object file in the file system.
FileInputStream(String name)
          Creates a FileInputStream by opening a connection to an actual file, the file named by the path name name in the file system.
FileOutputStream(File file)
          Creates a file output stream to write to the file represented by the specified File object.
FileOutputStream(File file, boolean append)
          Creates a file output stream to write to the file represented by the specified File object.
FileOutputStream(String name)
          Creates an output file stream to write to the file with the specified name.
FileOutputStream(String name, boolean append)
          Creates an output file stream to write to the file with the specified name.
FileReader(File file)
          Creates a new FileReader, given the File to read from.
FileReader(String fileName)
          Creates a new FileReader, given the name of the file to read from.
PrintStream(File file)
          Creates a new print stream, without automatic line flushing, with the specified file.
PrintStream(File file, String csn)
          Creates a new print stream, without automatic line flushing, with the specified file and charset.
PrintStream(String fileName)
          Creates a new print stream, without automatic line flushing, with the specified file name.
PrintStream(String fileName, String csn)
          Creates a new print stream, without automatic line flushing, with the specified file name and charset.
PrintWriter(File file)
          Creates a new PrintWriter, without automatic line flushing, with the specified file.
PrintWriter(File file, String csn)
          Creates a new PrintWriter, without automatic line flushing, with the specified file and charset.
PrintWriter(String fileName)
          Creates a new PrintWriter, without automatic line flushing, with the specified file name.
PrintWriter(String fileName, String csn)
          Creates a new PrintWriter, without automatic line flushing, with the specified file name and charset.
RandomAccessFile(File file, String mode)
          Creates a random access file stream to read from, and optionally to write to, the file specified by the File argument.
RandomAccessFile(String name, String mode)
          Creates a random access file stream to read from, and optionally to write to, a file with the specified name.
 

Uses of FileNotFoundException in java.util
 

Constructors in java.util that throw FileNotFoundException
Formatter(File file)
          Constructs a new formatter with the specified file.
Formatter(File file, String csn)
          Constructs a new formatter with the specified file and charset.
Formatter(File file, String csn, Locale l)
          Constructs a new formatter with the specified file, charset, and locale.
Formatter(String fileName)
          Constructs a new formatter with the specified file name.
Formatter(String fileName, String csn)
          Constructs a new formatter with the specified file name and charset.
Formatter(String fileName, String csn, Locale l)
          Constructs a new formatter with the specified file name, charset, and locale.
Scanner(File source)
          Constructs a new Scanner that produces values scanned from the specified file.
Scanner(File source, String charsetName)
          Constructs a new Scanner that produces values scanned from the specified file.
 

Uses of FileNotFoundException in javax.imageio.stream
 

Constructors in javax.imageio.stream that throw FileNotFoundException
FileImageInputStream(File f)
          Constructs a FileImageInputStream that will read from a given File.
FileImageOutputStream(File f)
          Constructs a FileImageOutputStream that will write to a given File.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.