/* File Name: CrossXclientBD.java */ package explorer.client; import explorer.*; /** * CrossXCleintBd is the Business Delegate the delegates the objects to the * CrossXClients. They contain methods for Getting the Roor File System, * To list files in a given path * To get Original File information from XML Data */ public class CrossXClientBD { FileSystemFactory FSFactory; public CrossXClientBD() { FSFactory=new FileSystemFactory(); } /** * Gets the Root Directories of the Client System */ public String getRootFileSystem() { return FSFactory.listRootFileSystem(); } /** * Gets the file objects in a given path */ public String listFiles(String path) { return FSFactory.listFilesAsXml(path); } /** * Returns the file information given in XML data form to DAO objects */ public FileSystemDAO[] getDAOObjects(String xmldata) { return FSFactory.getDAOObjects(xmldata); } }