    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jclass.util.JCURLDirectory

    java.lang.Object
       |
       +----jclass.util.JCURLDirectory

public class JCURLDirectory
extends Object

A collection of methods for reading directory information from a URL.

##

JCURLDirectory()

##

getFileList(Applet, String)
  Gets a list of files that can be accessed from an URL.

##

JCURLDirectory

      public JCURLDirectory()

##

getFileList

      public static String[] getFileList(Applet applet,
                                         String url)

  Gets a list of files that can be accessed from an URL.

  Parameters:
    applet - the applet used to connect to the URL; if an applet is available, it should be provided, as the Applet class provides better URL capabilities
    url - the URL that is read
  Returns:
    an array of strings in which each string is a file name
  See Also:
    JCFile, Applet

    All Packages  Class Hierarchy  This Package  Previous  Next  Index