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


java.lang.Object
  extended by 
org.eclipse.rse.services.clientserver.search.SystemSearchMatch

public class SystemSearchMatch
extends Object

This class holds information about a particular match.


Constructor Summary
SystemSearchMatch (int startOffset, int endOffset)
          Constructor for system search match.
 
Method Summary
 int getEndOffset ()
          Gets offset from the beginning of the file where the match ends.
 int getLength ()
          Gets the length of the match.
 int getStartOffset ()
          Gets offset from the beginning of the file where the match begins.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSearchMatch

public SystemSearchMatch(int startOffset,
                         int endOffset)
Constructor for system search match.

Parameters:
startOffset - the offset from the beginning of the file where the match begins.
endOffset - the offset from the beginning of the file where the match ends.
Method Detail

getStartOffset

public int getStartOffset()
Gets offset from the beginning of the file where the match begins.

Returns:
the offset where the match begins.

getEndOffset

public int getEndOffset()
Gets offset from the beginning of the file where the match ends.

Returns:
the offset where the match ends.

getLength

public int getLength()
Gets the length of the match. Start offset subtracted from end offset plus 1.

Returns:
the length of the match.

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