⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filerenamepolicy.java

📁 很好的文件处理程序
💻 JAVA
字号:
// Copyright (C) 2002 by Jason Hunter <jhunter_AT_acm_DOT_org>.// All rights reserved.  Use of this class is limited.// Please see the LICENSE for more information.package com.oreilly.servlet.multipart;import java.io.*;/** * An interface to provide a pluggable file renaming policy, particularly * useful to handle naming conflicts with an existing file. *  * @author Jason Hunter * @version 1.0, 2002/04/30, initial revision, thanks to Changshin Lee for *                           the basic idea */public interface FileRenamePolicy {    /**   * Returns a File object holding a new name for the specified file.   *   * @see FilePart#writeTo(File fileOrDirectory)   */  public File rename(File f);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -