01: /**
02: *
03: * Copyright (C) 2000-2007 Enterprise Distributed Technologies Ltd
04: *
05: * www.enterprisedt.com
06: *
07: * Change Log:
08: *
09: * $Log: FileNotFoundStrings.java,v $
10: * Revision 1.3 2007-10-23 07:20:06 bruceb
11: * new string
12: *
13: * Revision 1.2 2007-07-05 05:27:40 bruceb
14: * extra strings added
15: *
16: * Revision 1.1 2007/01/12 02:04:23 bruceb
17: * string matchers
18: *
19: *
20: */package com.enterprisedt.net.ftp;
21:
22: /**
23: * Contains fragments of server replies that indicate no files were
24: * found in a supplied directory.
25: *
26: * @author Bruce Blackshaw
27: * @version $Revision: 1.3 $
28: */
29: final public class FileNotFoundStrings extends ServerStrings {
30:
31: /**
32: * Server string indicating file not found
33: */
34: final public static String FILE_NOT_FOUND = "NOT FOUND";
35:
36: /**
37: * Server string indicating file not found
38: */
39: final public static String NO_SUCH_FILE = "NO SUCH FILE";
40:
41: /**
42: * Server string indicating file not found
43: */
44: final public static String CANNOT_FIND_THE_FILE = "CANNOT FIND THE FILE";
45:
46: /**
47: * Server string indicating file not found
48: */
49: final public static String FAILED_TO_OPEN_FILE = "FAILED TO OPEN FILE";
50:
51: /**
52: * Server string indicating file not found
53: */
54: final public static String COULD_NOT_GET_FILE = "COULD NOT GET FILE";
55:
56: /**
57: * Server string indicating file not found
58: */
59: final public static String DOES_NOT_EXIST = "DOES NOT EXIST";
60:
61: /**
62: * Constructor. Adds the fragments to match on
63: */
64: public FileNotFoundStrings() {
65: add(FILE_NOT_FOUND);
66: add(NO_SUCH_FILE);
67: add(CANNOT_FIND_THE_FILE);
68: add(FAILED_TO_OPEN_FILE);
69: add(COULD_NOT_GET_FILE);
70: add(DOES_NOT_EXIST);
71: }
72:
73: }
|