Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ejie.r01f.servlet.upload
Class DefaultFileRenamePolicy

    java.lang.Object
      com.ejie.r01f.servlet.upload.DefaultFileRenamePolicy

All Implemented Interfaces:
  FileRenamePolicy

public class DefaultFileRenamePolicy
extends java.lang.Object
implements FileRenamePolicy

Política de renombrado de ficheros en disco por defecto Para evitar machacar ficheros ya existentes, se aplica una política de renombrado de ficheros. En este caso, si el fichero ya existe en disco con el mismo nombre, se añade un número al nombre del fichero

Constructor Summary
`DefaultFileRenamePolicy()`

Method Summary
`java.io.File` | `rename(java.io.File f)` Renombrado de ficheros

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultFileRenamePolicy

    public DefaultFileRenamePolicy()

Method Detail

### rename

    public java.io.File rename(java.io.File f)

  Renombrado de ficheros

  Specified by:
    `rename` in interface `FileRenamePolicy`
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD