Project

General

Profile

« Previous | Next » 

Revision 4785

Added by daigle about 15 years ago

Change name of writeTempFile to writeTempUploadFile since this instance deals with the temporary upload dir specifically

View differences:

MetacatUtil.java
774 774
	 *            the name of the file to be written to disk
775 775
	 * @return tempFilePath a String containing location of temporary file
776 776
	 */
777
    public static String writeTempFile (FilePart filePart, String fileName) throws IOException {
778
        Logger logMetacat = Logger.getLogger(MetaCatServlet.class);
777
    public static String writeTempUploadFile (FilePart filePart, String fileName) throws IOException {
779 778
        String tempFilePath = null;
780 779
        String tempDirPath = null;
781 780
        try {
......
840 839
	 *            the destination file on disk
841 840
	 */
842 841
    public static void copyFile(String sourceName, String destName) throws IOException {
843
        Logger logMetacat = Logger.getLogger(MetaCatServlet.class);
844 842

  
845 843
        File sourceFile = new File(sourceName);
846 844
        File destFile = new File(destName);

Also available in: Unified diff