public static String[] list(String pathName)
throws IOExceptionLists the content of a directory
Parameters:
pathName - path to directory to be listed
Returns:
array of strings containing the files and subdirectories within the path
Throws:
IllegalArgumentException - if the path is invalid
IOException - if some kind of I/O error occurs.
Available on:
S55, S56, S57, S57C, SL55, M55