All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.apps.afs.FileSystemImpl

java.lang.Object
   |
   +----ajanta.apps.afs.FileSystemImpl

public class FileSystemImpl
extends Object
implements Resource, AccessProtocol, FileSystem

Variable Index

 o acl
 o as
 o myURN
 o rootDir
 o thr

Constructor Index

 o FileSystemImpl(FileServer, URN, String, String, String)

Method Index

 o depositFile(byte[], String)
 o fetchFile(String)
 o getFileStat(String)
 o getProxy(Credentials)
 o mapToURL(URN[])
 o search(String, boolean)
 o transferFile(String, URL, String)
 o webSearch(String, boolean)

Variables

 o myURN
 private URN myURN
 o rootDir
 private String rootDir
 o as
 private FileServer as
 o thr
 private FileServerThread thr
 o acl
 private Hashtable acl

Constructors

 o FileSystemImpl
 public FileSystemImpl(FileServer as,
                       URN name,
                       String root,
                       String webDir,
                       String webURL)

Methods

 o getProxy
 public Resource getProxy(Credentials cred)
 o transferFile
 public synchronized TransferResponse transferFile(String fileName,
                                                   URL dest,
                                                   String destName)
 o depositFile
 public synchronized DepositResponse depositFile(byte fileBuff[],
                                                 String destName)
 o fetchFile
 public synchronized FetchResponse fetchFile(String fileName)
 o getFileStat
 public synchronized StatResponse getFileStat(String fileName)
 o search
 public synchronized SearchResponse search(String searchString,
                                           boolean ignoreCase)
 o webSearch
 public synchronized WebSearchResponse webSearch(String searchString,
                                                 boolean ignoreCase)
 o mapToURL
 public synchronized MapResponse mapToURL(URN urns[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index