ariba.util.core
Class StringUtil.SearchResult

java.lang.Object
  extended by ariba.util.core.StringUtil.SearchResult
Enclosing class:
StringUtil

public static class StringUtil.SearchResult
extends java.lang.Object

Small struct class that captures the result of search for a string within some other unidentified string or stream.


Field Summary
 java.lang.String found
          The string that was found.
 int index
          The position at which the found string was found.
 
Constructor Summary
StringUtil.SearchResult(java.lang.String found, int index)
          Constructs a new instance.

 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

found

public java.lang.String found
The string that was found.


index

public int index
The position at which the found string was found.

Constructor Detail

StringUtil.SearchResult

public StringUtil.SearchResult(java.lang.String found,
                               int index)
Constructs a new instance.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.