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 Object

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


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

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

Field Detail

found

public 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(String found,
                               int index)
Constructs a new instance.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


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