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

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.services.clientserver
Class StringCompare

java.lang.Object
  extended by 
org.eclipse.rse.services.clientserver.StringCompare

public class StringCompare
extends Object

Utility class for comparing a wildcard string to another string


Constructor Summary
StringCompare ()
          Constructor
 
Method Summary
static boolean compare ( String pattern, String compareStr, boolean noCase)
          Compare two strings
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringCompare

public StringCompare()
Constructor

Method Detail

compare

public static boolean compare(
String pattern,
                              
String compareStr,
                              boolean noCase)
Compare two strings

Parameters:
pattern - the pattern to match
compareStr - the string to compare against the pattern
noCase - indicates whether the strings should be compared based on case
Returns:
true if the compare string matches the pattern

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