info.bliki.wiki.filter
Class Util

java.lang.Object
  extended by info.bliki.wiki.filter.Util

public class Util
extends java.lang.Object


Method Summary
static NodeAttribute addAttributes(TagNode node, java.lang.String attributesString)
          Scan the attributes string and add the attributes to the given node
static java.util.Map<java.lang.String,java.lang.String> getAttributes(java.lang.String attributesString)
           
static java.util.List<NodeAttribute> getNodeAttributes(java.lang.String attributesString)
           
static int indexOfIgnoreCase(java.lang.String searchableString, java.lang.String startPattern, java.lang.String endPattern, int fromIndex)
          Returns the index within the searchable string of the first occurrence of the concatenated start and end substring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addAttributes

public static NodeAttribute addAttributes(TagNode node,
                                          java.lang.String attributesString)
Scan the attributes string and add the attributes to the given node

Parameters:
node -
attributesString -

getNodeAttributes

public static java.util.List<NodeAttribute> getNodeAttributes(java.lang.String attributesString)

getAttributes

public static java.util.Map<java.lang.String,java.lang.String> getAttributes(java.lang.String attributesString)

indexOfIgnoreCase

public static int indexOfIgnoreCase(java.lang.String searchableString,
                                    java.lang.String startPattern,
                                    java.lang.String endPattern,
                                    int fromIndex)
Returns the index within the searchable string of the first occurrence of the concatenated start and end substring. The end substring is matched ignoring case considerations.

Parameters:
searchableString - the searchable string
startPattern - the start string which should be searched in exact case mode
endPattern - the end string which should be searched in ignore case mode
fromIndex - the index from which to start the search.
Returns:
the index within this string of the first occurrence of the specified substring, starting at the specified index.


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.