01: /**
02: *
03: * Copyright (C) 2000-2007 Enterprise Distributed Technologies Ltd
04: *
05: * www.enterprisedt.com
06: *
07: * Change Log:
08: *
09: * $Log: DirectoryEmptyStrings.java,v $
10: * Revision 1.1 2007/01/12 02:04:23 bruceb
11: * string matchers
12: *
13: *
14: */package com.enterprisedt.net.ftp;
15:
16: /**
17: * Contains fragments of server replies that indicate no files were
18: * found in a supplied directory.
19: *
20: * @author Bruce Blackshaw
21: * @version $Revision: 1.1 $
22: */
23: final public class DirectoryEmptyStrings extends ServerStrings {
24:
25: /**
26: * Server string indicating no files found (NO_FILES)
27: */
28: final public static String NO_FILES = "NO FILES";
29:
30: /**
31: * Server string indicating no files found (wu-ftpd) (NO_SUCH_FILE_OR_DIR)
32: */
33: final public static String NO_SUCH_FILE_OR_DIR = "NO SUCH FILE OR DIRECTORY";
34:
35: /**
36: * Server string indicating no files found (EMPTY_DIR)
37: */
38: final public static String EMPTY_DIR = "EMPTY";
39:
40: /**
41: * Server string for OS/390 indicating no files found (NO_DATA_SETS_FOUND)
42: */
43: final public static String NO_DATA_SETS_FOUND = "NO DATA SETS FOUND";
44:
45: /**
46: * Constructor. Adds the fragments to match on
47: */
48: public DirectoryEmptyStrings() {
49: add(NO_FILES);
50: add(NO_SUCH_FILE_OR_DIR);
51: add(EMPTY_DIR);
52: add(NO_DATA_SETS_FOUND);
53: }
54:
55: }
|