All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.fs.host.HostFileSystem

java.lang.Object
    |
    +----org.jos.fs.util.AbstractFileSystem
            |
            +----org.jos.fs.host.HostFileSystem

public final class HostFileSystem
extends AbstractFileSystem
TODO: comment TODO: manage Windows drives

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

Constructor Index

 o HostFileSystem(String)

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)
require: readAccess || writeAccess == true
 o rename(String, String)

Constructors

 o HostFileSystem
public HostFileSystem(String rootDir)

Methods

 o getCasePolicyForDir
public int getCasePolicyForDir(String dir)
 o getBranchInfo
public FSBranchInfo getBranchInfo(String branch)
 o getMedium
public Medium getMedium()
 o getFileInfo
public FSFileInfo getFileInfo(String path) throws IOException
 o delete
public void delete(String path) throws IOException
 o rename
public void rename(String from,
                   String to) throws IOException
 o mkdir
public void mkdir(String path) throws IOException
 o dirList
public String[] dirList(String path) throws IOException
 o openFile
public FSFile openFile(String file,
                       boolean readAccess,
                       boolean writeAccess) throws IOException
require: readAccess || writeAccess == true

Returns:
opened file (not null)

All Packages  Class Hierarchy  This Package  Previous  Next  Index