|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the type of element.public interface CollectionFormat<E>
This interface is used to represent collection formats.
Method Summary | |
---|---|
java.lang.String |
format(java.util.Collection<? extends E> c)
Returns a formatted string representation of the provided collection. |
SimpleFormat<E> |
getElementFormat()
Returns the format object used for the elements of this collection format. |
java.util.Collection<E> |
parse(java.lang.String source)
Parses the provided string and returns its corresponding collection of elements. |
Methods inherited from interface sbrt.shell.text.Formatter |
---|
format |
Method Detail |
---|
java.lang.String format(java.util.Collection<? extends E> c)
c
- the collection to be formatted.
java.util.Collection<E> parse(java.lang.String source)
parse
in interface Parser<java.util.Collection<? extends E>>
source
- the string to be parsed.
SimpleFormat<E> getElementFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |