View | Details | Raw Unified | Return to bug 210109
Collapse All | Expand All

(-)src/org/eclipse/rse/services/files/IFileService.java (-4 / +45 lines)
Lines 52-61 Link Here
52
 */
52
 */
53
public interface IFileService extends IService
53
public interface IFileService extends IService
54
{	
54
{	
55
55
	/** 
56
	public static final int FILE_TYPE_FILES = 1;
56
	 * Query constant (bit mask value 1) which indicates that a query should be 
57
	public static final int FILE_TYPE_FILES_AND_FOLDERS = 0;
57
	 * on files.  The filter(s) passed into the list methods will produce a subset
58
	public static final int FILE_TYPE_FOLDERS = 2;
58
	 * of files matching the filter(s).
59
	 * 
60
	 * This constant is passed into the IFileService list calls.  Implementors of 
61
	 * IFileService make use of this to determine what to query and what to return 
62
	 * from the query.
63
	 *
64
	 * @see IFileService#list(String,String,int,IProgressMonitor)
65
	 * @see IFileService#listMultiple(String[],String[],int,IProgressMonitor)
66
	 * @see IFileService#listMultiple(String[],String[],int[],IProgressMonitor)
67
	 */
68
	public static final int FILE_TYPE_FILES =  0x1;
69
	
70
	/** 
71
	 * Query constant (bit mask value 2) which indicates that a query should be 
72
	 * on folders.  The filter(s) passed into the list methods will produce a subset
73
	 * of folders matching the filter(s).
74
	 * 
75
	 * This constant is passed into the IFileService list calls.  Implementors of 
76
	 * IFileService make use of this to determine what to query and what to return 
77
	 * from the query.
78
	 *
79
	 * @see IFileService#list(String,String,int,IProgressMonitor)
80
	 * @see IFileService#listMultiple(String[],String[],int,IProgressMonitor)
81
	 * @see IFileService#listMultiple(String[],String[],int[],IProgressMonitor)
82
	 */
83
	public static final int FILE_TYPE_FOLDERS =  0x2;
84
	
85
	/** 
86
	 * Query constant (bit mask value 3) which indicates that a query should produce 
87
	 * folders and files.  The filter(s) passed into the list methods will produce a 
88
	 * subset of files matching the filter(s) and all the folders.
89
	 * Note that only files are filtered and all folders are returned when this is used.
90
	 * 
91
	 * This constant is passed into the IFileService list calls.  Implementors of 
92
	 * IFileService make use of this to determine what to query and what to return 
93
	 * from the query.
94
	 *
95
	 * @see IFileService#list(String,String,int,IProgressMonitor)
96
	 * @see IFileService#listMultiple(String[],String[],int,IProgressMonitor)
97
	 * @see IFileService#listMultiple(String[],String[],int[],IProgressMonitor)
98
	 */
99
	public static final int FILE_TYPE_FILES_AND_FOLDERS = 0x3;
59
100
60
	/**
101
	/**
61
	 * Copy a file to the remote file system.  The remote target is denoted by a
102
	 * Copy a file to the remote file system.  The remote target is denoted by a

Return to bug 210109