Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.subsystems.files.core.util
Class SystemRemoteFileMatcher


java.lang.Object
  extended by 

org.eclipse.rse.core.SystemRemoteObjectMatcher
      extended by 
org.eclipse.rse.subsystems.files.core.util.SystemRemoteFileMatcher

public class SystemRemoteFileMatcher
extends SystemRemoteObjectMatcher

This class encapsulates all the criteria required to identify a match on a remote system file object.

Use the static method getFileOrFolderMatcher() to get an default instance that matches on any directory of any name.

You only need to instantiate this class if you want to match on a file of a particular name.

See Also:
ISystemRemoteElementAdapter

Field Summary
static  String category
           
static  String fileType
           
static  String folderType
           
static  SystemRemoteFileMatcher inst
           
static  SystemRemoteFileMatcher instFiles
           
static  SystemRemoteFileMatcher instFolders
           
 
Fields inherited from class org.eclipse.rse.core. SystemRemoteObjectMatcher
STAR_SYMBOL, STAR_SYMBOL_LEN, STAR_SYMBOL2
 
Constructor Summary
SystemRemoteFileMatcher ( String nameFilter)
          Constructor when you want to match on either folders or files You only need to instantiate yourself if you want to match on files/folder of a particular name Otherwise, call SystemRemoteFileMatcher(String, boolean).
SystemRemoteFileMatcher ( String nameFilter, boolean foldersOnly)
          Constructor when you want to only list files or only list folders You only need to instantiate yourself if you want to match on files/folder of a particular name Otherwise, call SystemRemoteFileMatcher(String).
 
Method Summary
static  SystemRemoteFileMatcher getFileOnlyMatcher ()
          Return an instance that will match on any file of any name from any remote system
static  SystemRemoteFileMatcher getFileOrFolderMatcher ()
          Return an instance that will match on any file or folder of any name from any remote system
static  SystemRemoteFileMatcher getFolderOnlyMatcher ()
          Return an instance that will match on any folder of any name from any remote system
 
Methods inherited from class org.eclipse.rse.core. SystemRemoteObjectMatcher
appliesTo, endsWithAsterisk, getCategoryFilter, getNameFilter, getSubSubTypeFilter, getSubSystemConfigurationCategoryFilter, getSubSystemConfigurationId, getSubTypeFilter, getSystemTypesFilter, getTypeFilter, resolveSymbols, startsWithAsterisk, stripLeadingAsterisk, stripTrailingAsterisk
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inst

public static 
SystemRemoteFileMatcher inst

instFiles

public static 
SystemRemoteFileMatcher instFiles

instFolders

public static 
SystemRemoteFileMatcher instFolders

category

public static final 
String category
See Also:
Constant Field Values

fileType

public static final 
String fileType
See Also:
Constant Field Values

folderType

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

SystemRemoteFileMatcher

public SystemRemoteFileMatcher(
String nameFilter)
Constructor when you want to match on either folders or files You only need to instantiate yourself if you want to match on files/folder of a particular name Otherwise, call SystemRemoteFileMatcher(String, boolean).


SystemRemoteFileMatcher

public SystemRemoteFileMatcher(
String nameFilter,
                               boolean foldersOnly)
Constructor when you want to only list files or only list folders You only need to instantiate yourself if you want to match on files/folder of a particular name Otherwise, call SystemRemoteFileMatcher(String).

Method Detail

getFileOrFolderMatcher

public static 
SystemRemoteFileMatcher getFileOrFolderMatcher()
Return an instance that will match on any file or folder of any name from any remote system


getFolderOnlyMatcher

public static 
SystemRemoteFileMatcher getFolderOnlyMatcher()
Return an instance that will match on any folder of any name from any remote system


getFileOnlyMatcher

public static 
SystemRemoteFileMatcher getFileOnlyMatcher()
Return an instance that will match on any file of any name from any remote system


RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire