directoryemptystrings.java
来自「java编写的非常详尽的基于ftp协议的上传下载源码」· Java 代码 · 共 57 行
JAVA
57 行
/**
*
* Copyright (C) 2000-2007 Enterprise Distributed Technologies Ltd
*
* www.enterprisedt.com
*
* Change Log:
*
* $Log: DirectoryEmptyStrings.java,v $
* Revision 1.1 2007/01/12 02:04:23 bruceb
* string matchers
*
*
*/
package com.enterprisedt.net.ftp;
/**
* Contains fragments of server replies that indicate no files were
* found in a supplied directory.
*
* @author Bruce Blackshaw
* @version $Revision: 1.1 $
*/
final public class DirectoryEmptyStrings extends ServerStrings {
/**
* Server string indicating no files found (NO_FILES)
*/
final public static String NO_FILES = "NO FILES";
/**
* Server string indicating no files found (wu-ftpd) (NO_SUCH_FILE_OR_DIR)
*/
final public static String NO_SUCH_FILE_OR_DIR = "NO SUCH FILE OR DIRECTORY";
/**
* Server string indicating no files found (EMPTY_DIR)
*/
final public static String EMPTY_DIR = "EMPTY";
/**
* Server string for OS/390 indicating no files found (NO_DATA_SETS_FOUND)
*/
final public static String NO_DATA_SETS_FOUND = "NO DATA SETS FOUND";
/**
* Constructor. Adds the fragments to match on
*/
public DirectoryEmptyStrings() {
add(NO_FILES);
add(NO_SUCH_FILE_OR_DIR);
add(EMPTY_DIR);
add(NO_DATA_SETS_FOUND);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?