xdoclet.util

Class FileManager

public final class FileManager extends Object

A utility class for handling common filing operations. It also caches loaded files.

Version: $Revision: 1.14 $

Author: Ara Abrahamian (ara_e@email.com) Hani Suleiman (hani@formicary.net)

UNKNOWN: Aug 5, 2001 Deal with Translator.getString()'s exception better (throw it so the build stops?) in getFileContent(String)

Method Summary
static StringgetURLContent(URL url)
Gets the URLContent attribute of the FileManager class
static voidwriteURLContent(URL url, File destination)
Describe what the method does

Method Detail

getURLContent

public static String getURLContent(URL url)
Gets the URLContent attribute of the FileManager class

Parameters: url Describe what the parameter does

Returns: The URLContent value

writeURLContent

public static void writeURLContent(URL url, File destination)
Describe what the method does

Parameters: url Describe what the parameter does destination Describe what the parameter does

Throws: IOException Describe the exception