mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +02:00
[210109] store constants in IFileService rather than IFileServiceConstants
This commit is contained in:
parent
1fce7beccf
commit
c224183f23
1 changed files with 45 additions and 4 deletions
|
@ -52,10 +52,51 @@ import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
|
|||
*/
|
||||
public interface IFileService extends IService
|
||||
{
|
||||
|
||||
public static final int FILE_TYPE_FILES = 1;
|
||||
public static final int FILE_TYPE_FILES_AND_FOLDERS = 0;
|
||||
public static final int FILE_TYPE_FOLDERS = 2;
|
||||
/**
|
||||
* Query constant (bit mask value 1) which indicates that a query should be
|
||||
* on files. The filter(s) passed into the list methods will produce a subset
|
||||
* of files matching the filter(s).
|
||||
*
|
||||
* This constant is passed into the IFileService list calls. Implementors of
|
||||
* IFileService make use of this to determine what to query and what to return
|
||||
* from the query.
|
||||
*
|
||||
* @see IFileService#list(String,String,int,IProgressMonitor)
|
||||
* @see IFileService#listMultiple(String[],String[],int,IProgressMonitor)
|
||||
* @see IFileService#listMultiple(String[],String[],int[],IProgressMonitor)
|
||||
*/
|
||||
public static final int FILE_TYPE_FILES = 0x1;
|
||||
|
||||
/**
|
||||
* Query constant (bit mask value 2) which indicates that a query should be
|
||||
* on folders. The filter(s) passed into the list methods will produce a subset
|
||||
* of folders matching the filter(s).
|
||||
*
|
||||
* This constant is passed into the IFileService list calls. Implementors of
|
||||
* IFileService make use of this to determine what to query and what to return
|
||||
* from the query.
|
||||
*
|
||||
* @see IFileService#list(String,String,int,IProgressMonitor)
|
||||
* @see IFileService#listMultiple(String[],String[],int,IProgressMonitor)
|
||||
* @see IFileService#listMultiple(String[],String[],int[],IProgressMonitor)
|
||||
*/
|
||||
public static final int FILE_TYPE_FOLDERS = 0x2;
|
||||
|
||||
/**
|
||||
* Query constant (bit mask value 0) which indicates that a query should produce
|
||||
* folders and files. The filter(s) passed into the list methods will produce a
|
||||
* subset of files matching the filter(s) and all the folders.
|
||||
* Note that only files are filtered and all folders are returned when this is used.
|
||||
*
|
||||
* This constant is passed into the IFileService list calls. Implementors of
|
||||
* IFileService make use of this to determine what to query and what to return
|
||||
* from the query.
|
||||
*
|
||||
* @see IFileService#list(String,String,int,IProgressMonitor)
|
||||
* @see IFileService#listMultiple(String[],String[],int,IProgressMonitor)
|
||||
* @see IFileService#listMultiple(String[],String[],int[],IProgressMonitor)
|
||||
*/
|
||||
public static final int FILE_TYPE_FILES_AND_FOLDERS = 0x0;
|
||||
|
||||
/**
|
||||
* Copy a file to the remote file system. The remote target is denoted by a
|
||||
|
|
Loading…
Add table
Reference in a new issue