Remote Systems
v6.4.1

com.ibm.etools.systems.core.clientserver.search
Class SystemSearchMatch

java.lang.Object
  extended bycom.ibm.etools.systems.core.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.

Remote Systems
v6.4.1

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.