xdoclet.util

Class FileManager


public final class FileManager
extends java.lang.Object

A utility class for handling common filing operations. It also caches loaded files.
Version:
$Revision: 1.14 $
Authors:
Ara Abrahamian (ara_e@email.com)
Hani Suleiman (hani@formicary.net)
created
Aug 5, 2001
To do:
Deal with Translator.getString()'s exception better (throw it so the build stops?) in getFileContent(String)

Method Summary

static String
getURLContent(URL url)
Gets the URLContent attribute of the FileManager class
static void
writeURLContent(URL url, File destination)
Describe what the method does

Method Details

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)
            throws IOException
Describe what the method does
Parameters:
url - Describe what the parameter does
destination - Describe what the parameter does