All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.fs.fat.FAT

java.lang.Object
    |
    +----org.jos.fs.util.AbstractFileSystem
            |
            +----org.jos.fs.fat.FAT

public class FAT
extends AbstractFileSystem
implements FATConstants
provides access to a FAT file system

Limitation: Max volume size = 2 GB

Assumptions: Medium is not modified concurrently by other objects/external sources.

TODO: 16 bit FAT support; optimization; multiple FAT support

Version:
JOS-FileSystem 4 Preview (25-Mar-98)
Author:
Stefan Reich

Constructor Index

 o FAT(Medium)

Method Index

 o delete(String)
 o dirList(String)
 o getBranchInfo(String)
 o getCasePolicyForDir(String)
 o getFileInfo(String)
 o getMedium()
 o mkdir(String)
 o openFile(String, boolean, boolean)
 o rename(String, String)
 o toString()

Constructors

 o FAT
public FAT(Medium medium) throws IOException

Methods

 o delete
public void delete(String path) throws IOException
 o openFile
public FSFile openFile(String file,
                       boolean readAccess,
                       boolean writeAccess) throws IOException
Parameters:
file - Name of file to open (case doesn't matter)
 o mkdir
public void mkdir(String path) throws IOException
 o dirList
public String[] dirList(String path) throws IOException
 o getCasePolicyForDir
public int getCasePolicyForDir(String dir)
 o getBranchInfo
public FSBranchInfo getBranchInfo(String branch)
 o toString
public String toString()
Overrides:
toString in class Object
 o getMedium
public Medium getMedium()
 o getFileInfo
public FSFileInfo getFileInfo(String path) throws IOException
 o rename
public void rename(String from,
                   String to) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index