Java EE 5 SDK

com.sun.appserv.management.util.stringifier
Class IteratorStringifier

java.lang.Object
  extended by com.sun.appserv.management.util.stringifier.IteratorStringifierBase
      extended by com.sun.appserv.management.util.stringifier.IteratorStringifier
All Implemented Interfaces:
Stringifier

public final class IteratorStringifier
extends IteratorStringifierBase

Stringifies an Iterator, using an optional element Stringifier


Field Summary
static IteratorStringifier DEFAULT
           
 
Fields inherited from class com.sun.appserv.management.util.stringifier.IteratorStringifierBase
mDelim, mElementStringifier
 
Constructor Summary
IteratorStringifier()
           
IteratorStringifier(String delim)
           
IteratorStringifier(Stringifier elementStringifier)
           
IteratorStringifier(String delim, Stringifier elementStringifier)
           
 
Method Summary
static String stringify(Iterator iter, String delim)
           
 void stringifyElement(Object elem, String delim, StringBuffer buf)
           
 
Methods inherited from class com.sun.appserv.management.util.stringifier.IteratorStringifierBase
stringify, stringify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final IteratorStringifier DEFAULT
Constructor Detail

IteratorStringifier

public IteratorStringifier()

IteratorStringifier

public IteratorStringifier(String delim)

IteratorStringifier

public IteratorStringifier(Stringifier elementStringifier)

IteratorStringifier

public IteratorStringifier(String delim,
                           Stringifier elementStringifier)
Method Detail

stringifyElement

public void stringifyElement(Object elem,
                             String delim,
                             StringBuffer buf)
Specified by:
stringifyElement in class IteratorStringifierBase

stringify

public static String stringify(Iterator iter,
                               String delim)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.