home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 139 / dpcs0999.iso / Web / CFserver / data1.cab / Java / allaire / cfide / CFNavigationApplet.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-12  |  1.1 KB  |  21 lines

  1. package allaire.cfide;
  2.  
  3. import netscape.application.FoundationApplet;
  4.  
  5. public class CFNavigationApplet extends FoundationApplet {
  6.    public CFDirectoryTree m_treeControl;
  7.  
  8.    public Class classForName(String className) throws ClassNotFoundException {
  9.       return Class.forName(className);
  10.    }
  11.  
  12.    public String currentPath(String separator) {
  13.       String path = this.m_treeControl.currentPath(separator);
  14.       if (this.m_treeControl.m_isUNIX) {
  15.          path = "/" + path;
  16.       }
  17.  
  18.       return path;
  19.    }
  20. }
  21.