iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.dstore.miners
Class IFSFileSystemFilter

java.lang.Object
  extended bycom.ibm.etools.systems.universal.miners.UniversalFileSystemFilter
      extended bycom.ibm.etools.iseries.core.dstore.miners.IFSFileSystemFilter
All Implemented Interfaces:
FilenameFilter, com.ibm.etools.systems.core.clientserver.IClientServerConstants, com.ibm.as400.access.IFSFileFilter, com.ibm.etools.systems.universal.miners.IUniversalDataStoreConstants

public class IFSFileSystemFilter
extends com.ibm.etools.systems.universal.miners.UniversalFileSystemFilter
implements com.ibm.as400.access.IFSFileFilter


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.universal.miners.UniversalFileSystemFilter
allowDirs, allowFiles, caseSensitive, filter, folderNameMatcher, includeFilesOrFolders, matcher
 
Fields inherited from interface com.ibm.etools.systems.universal.miners.IUniversalDataStoreConstants
BINARY_MODE, BUFFER_SIZE, C_DOWNLOAD_FILE, C_QUERY_QUALIFIED_CLASSNAME, C_QUERY_UNUSED_PORT, C_SYSTEM_ENCODING, DOWNLOAD_RESULT_EXCEPTION, DOWNLOAD_RESULT_FILE_NOT_FOUND_EXCEPTION, DOWNLOAD_RESULT_IO_EXCEPTION, DOWNLOAD_RESULT_SUCCESS_MESSAGE, DOWNLOAD_RESULT_SUCCESS_TYPE, DOWNLOAD_RESULT_UNEXPECTED_ERROR, DOWNLOAD_RESULT_UNSUPPORTED_ENCODING_EXCEPTION, FAILED, FAILED_TO_DELETE_DIR, FAILED_WITH_DOES_NOT_EXIST, FAILED_WITH_EXCEPTION, FAILED_WITH_EXIST, FAILED_WITH_SECURITY, KB_IN_BYTES, MESSAGE_DESCRIPTOR, NUM_OF_KB, SUCCESS, TEXT_MODE, TOKEN_SEPARATOR, TYPE_QUALIFIED_CLASSNAME, UNEXPECTED_ERROR, UNIVERSAL_ARCHIVE_FILE_DESCRIPTOR, UNIVERSAL_FILE_DESCRIPTOR, UNIVERSAL_FILESYSTEM_MINER, UNIVERSAL_FILTER_DESCRIPTOR, UNIVERSAL_FOLDER_DESCRIPTOR, UNIVERSAL_NODE_DESCRIPTOR, UNIVERSAL_TEMP_DESCRIPTOR, UNIVERSAL_VIRTUAL_FILE_DESCRIPTOR, UNIVERSAL_VIRTUAL_FOLDER_DESCRIPTOR, VERSION_1
 
Fields inherited from interface com.ibm.etools.systems.core.clientserver.IClientServerConstants
FILEMSG_ARCHIVE_CORRUPTED, FILEMSG_COPY_FILE_FAILED, FILEMSG_CREATE_FILE_FAILED, FILEMSG_CREATE_FILE_FAILED_EXIST, FILEMSG_CREATE_FOLDER_FAILED, FILEMSG_CREATE_FOLDER_FAILED_EXIST, FILEMSG_CREATE_RESOURCE_NOTVISIBLE, FILEMSG_DELETE_FILE_FAILED, FILEMSG_ERROR_NOFILETYPES, FILEMSG_MOVE_FILE_FAILED, FILEMSG_MOVE_TARGET_EQUALS_SOURCE, FILEMSG_NO_PERMISSION, FILEMSG_REMOTE_SAVE_FAILED, FILEMSG_RENAME_FILE_FAILED, FILEMSG_RENAME_RESOURCE_NOTVISIBLE, INCLUDE_ALL, INCLUDE_FILES_ONLY, INCLUDE_FOLDERS_ONLY, MSG_EXCEPTION_DELETING, MSG_EXCEPTION_MOVING, MSG_EXCEPTION_OCCURRED, MSG_EXCEPTION_RENAMING, MSG_PREFIX, PLUGIN_ID, PREFIX, RESID_PREFIX
 
Constructor Summary
IFSFileSystemFilter(String str, boolean files, boolean folders)
           
 
Method Summary
 boolean accept(com.ibm.as400.access.IFSFile file)
          Method required by IFSFileFilter interface, used by IFSFile.list() Tests if a specified file should be included in a file list.
 
Methods inherited from class com.ibm.etools.systems.universal.miners.UniversalFileSystemFilter
accept, setListValues, setListValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

IFSFileSystemFilter

public IFSFileSystemFilter(String str,
                           boolean files,
                           boolean folders)
Method Detail

accept

public boolean accept(com.ibm.as400.access.IFSFile file)
Method required by IFSFileFilter interface, used by IFSFile.list() Tests if a specified file should be included in a file list.

Specified by:
accept in interface com.ibm.as400.access.IFSFileFilter
Parameters:
file - IFSFile object
Returns:
true if and only if the name should be included in the file list; false otherwise.

iSeries Remote Systems
v6.0.0

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.