📄 directoryemptystrings.java
字号:
/**
*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -