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
| 从类 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.