cn.dreampie.common.util.stream
类 FileRenamer

java.lang.Object
  继承者 cn.dreampie.common.util.stream.FileRenamer
直接已知子类:
DefaultFileRenamer

public abstract class FileRenamer
extends Object

An interface to provide a pluggable file renaming policy, particularly useful to handle naming conflicts with an existing file.

版本:
1.0, 2002/04/30, initial revision, thanks to Changshin Lee for the basic idea
作者:
Jason Hunter

字段摘要
static FileRenamer RENAMER
           
 
构造方法摘要
FileRenamer()
           
 
方法摘要
protected  boolean createNewFile(File f)
           
abstract  File rename(File f)
          Returns a File object holding a new name for the specified file.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

RENAMER

public static final FileRenamer RENAMER
构造方法详细信息

FileRenamer

public FileRenamer()
方法详细信息

rename

public abstract File rename(File f)
Returns a File object holding a new name for the specified file.


createNewFile

protected boolean createNewFile(File f)


Copyright © 2015. All rights reserved.