Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
java.io.File

Uses of File in java.io
 

Methods in java.io that return File
(package private) static File[] VMFile.listRoots()
          This method returns an array of filesystem roots.
 File File.getAbsoluteFile()
          This method returns a File object representing the absolute path of this object.
 File File.getCanonicalFile()
          This method returns a File object representing the canonical path of this object.
 File File.getParentFile()
          This method returns a File object representing the parent file of this one.
 File[] File.listFiles()
          This method returns an array of File objects representing all the files in the directory represented by this object.
 File[] File.listFiles(FilenameFilter filter)
          This method returns an array of File objects representing all the files in the directory represented by this object.
 File[] File.listFiles(FileFilter filter)
          This method returns an array of File objects representing all the files in the directory represented by this object.
static File File.createTempFile(java.lang.String prefix, java.lang.String suffix, File directory)
          This method creates a temporary file in the specified directory.
static File[] File.listRoots()
          This method returns an array of filesystem roots.
static File File.createTempFile(java.lang.String prefix, java.lang.String suffix)
          This method creates a temporary file in the system temporary directory.
 

Methods in java.io with parameters of type File
(package private) static boolean VMFile.canWriteDirectory(File dir)
          This methods checks if a directory can be written to.
(package private) static void DeleteFileHelper.add(File file)
           
static File File.createTempFile(java.lang.String prefix, java.lang.String suffix, File directory)
          This method creates a temporary file in the specified directory.
 int File.compareTo(File other)
          This method compares the specified File to this one to test for equality.
 boolean File.renameTo(File dest)
          This method renames the file represented by this object to the path of the file represented by the argument File.
 boolean FilenameFilter.accept(File dir, java.lang.String name)
          This method determines whether or not a given file should be included in a directory listing.
 boolean FileFilter.accept(File pathname)
          This method determines whether or not a given pathname should be included in a pathname listing.
 

Constructors in java.io with parameters of type File
FileInputStream(File file)
          This method initializes a FileInputStream to read from the specified File object.
FileOutputStream(File file)
          This method initializes a FileOutputStream object to write to the specified File object.
FileOutputStream(File file, boolean append)
          This method initializes a FileOutputStream object to write to the specified File object.
File(File directory, java.lang.String name)
          This method initializes a new File object to represent a file in the specified directory.
FileReader(File file)
          This method initializes a FileReader instance to read from the specified File object.
FileWriter(File file)
          This method initializes a new FileWriter object to write to the specified File object.
FileWriter(File file, boolean append)
          This method initializes a new FileWriter object to write to the specified File object.
RandomAccessFile(File file, java.lang.String mode)
          This method initializes a new instance of RandomAccessFile to read from the specified File object with the specified access mode.
PrintWriter(File file)
          This initializes a new PrintWriter object to write to the specified file.
PrintWriter(File file, java.lang.String enc)
          This initializes a new PrintWriter object to write to the specified file.