Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/util RenameableFileUpload.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/util RenameableFileUpload.java

Author dlr
Full name Daniel Rall
Date 2000-11-07 22:44:06 PST
Message User: dlr
  Date: 00/11/07 22:44:06

  Modified: java/org/joist/util RenameableFileUpload.java
  Log:
  clead up docs
  
  Revision Changes Path
  1.5 +19 -11 joist/java/org/joist​/util/RenameableFile​Upload.java
  
  Index: RenameableFileUpload.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/util/Renameabl​eFileUpload.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RenameableFileUpload.java 2000/07/05 21:29:29 1.4
  +++ RenameableFileUpload.java 2000/11/08 06:44:06 1.5
  @@ -68,23 +68,30 @@
    * the file is on a different partition or physical disk.
    *
    * @author <a href="mailto:dlr@col​lab.net">Daniel L. Rall</a>
  - * @version $Id: RenameableFileUpload.java,v 1.4 2000/07/05 21:29:29 jeffw Exp $
  + * @version $Id: RenameableFileUpload.java,v 1.5 2000/11/08 06:44:06 dlr Exp $
    *
    * Copyright (c) 2000 Collab.Net, Inc.
    */
   public abstract class RenameableFileUpload extends FileUpload
   {
  + /**
  + * The log to write to.
  + */
       private static Log log = new Log("rfUp", "RenameableFileUpload");
  - private static boolean debug = false;
  +
  + /**
  + * Whether to log debugging information.
  + */
  + private static final boolean debug = false;
   
       /**
        * Performs any additional processing that may be desired, then returns
        * the names that the uploaded files were saved as.
        *
  - * @param conn The JDBC connection to use.
  - * @param mreq The MultipartRequest to use.
  - * @param context The WebContext to use.
  - * @return The File objects the uploaded files were saved as.
  + * @param conn The JDBC connection to use.
  + * @param mreq The MultipartRequest to use.
  + * @param context The context of user interaction.
  + * @return The File objects the uploaded files were saved as.
        */
       protected Vector processUploadedFiles (Connection conn,
                          WebContext context,
  @@ -111,10 +118,10 @@
        * This method should contain your naming algorithm, and must be
        * implemented by subclasses.
        *
  - * @param conn The JDBC connection to use.
  - * @param context The WebContext to use.
  - * @param clntFname The client supplied file name.
  - * @return The name to save the file as.
  + * @param conn The JDBC connection to use.
  + * @param context The context of user interaction.
  + * @param clntFname The client supplied file name.
  + * @return The name to save the file as.
        */
       protected abstract String getSaveAsFileName (Connection conn,
                            WebContext context,
  @@ -124,7 +131,8 @@
        * Returns the path of the directory to move files into while renaming
        * them (i.e. the destination directory).
        *
  - * @return The path of the directory to save the file to.
  + * @return The path of the directory to move the file to for its final
  + * rest.
        */
       protected String getDestinationPath ()
       {

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/util RenameableFileUpload.java dlr Daniel Rall 2000-11-07 22:44:06 PST
Messages per page: