Package net.asfun.jangod.util.ListOrderedMap

Examples of net.asfun.jangod.util.ListOrderedMap.Item


      //replace the block identify with block content
      ListOrderedMap blockList = (ListOrderedMap) fetchRuntimeScope(BLOCK_LIST, 1);
      Iterator<Item> mi = blockList.iterator();
      int index;
      String replace;
      Item item;
      while( mi.hasNext() ) {
        item = mi.next();
        replace = SEMI_BLOCK + item.getKey();
        while ( (index = sb.indexOf(replace)) > 0 ) {
          sb.delete(index, index + replace.length());
          sb.insert(index, item.getValue());
        }
      }
      return sb.toString();
    }
    return buff.toString();
View Full Code Here

TOP

Related Classes of net.asfun.jangod.util.ListOrderedMap.Item

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.