xdoclet.util
Class FileManager
java.lang.Object
xdoclet.util.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)
- created
- Aug 5, 2001
- To do:
- Deal with Translator.getString()'s exception better (throw it so the build stops?) in
getFileContent(String)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileManager
public FileManager()
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 doesdestination
- Describe what the parameter does
- Throws:
IOException
- Describe the exception