Package | Description |
---|---|
net.sf.mmm.util.lang.api |
Provides the API for utilities of general purpose.
|
net.sf.mmm.util.lang.base |
Contains the basic implementation of the Util Lang API.
|
net.sf.mmm.util.scanner.api |
Provides the API for scanners that help to parse character sequences efficient and easily.
|
net.sf.mmm.util.scanner.base |
Contains the base-implementations of the
Character Scanner API . |
Modifier and Type | Method and Description |
---|---|
List<String> |
StringUtil.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax)
This method is like
StringUtil.fromSeparatedString(CharSequence, String, StringSyntax, Collection, ValueConverter)
but expects elements of the type String that do not need additional custom conversion. |
<E> void |
StringUtil.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<? super String,? super E> converter,
Class<E> type)
This method parses the given
separatedString that contains elements separated with separator and
the given syntax and adds these elements to the given collection . |
<E> void |
StringUtil.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<String,E> converter)
This method parses the given
separatedString that contains elements separated with separator and
the given syntax and adds these elements to the given collection . |
void |
StringUtil.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<String> collection)
This method is like
StringUtil.fromSeparatedString(CharSequence, String, StringSyntax, Collection, ValueConverter)
but expects elements of the type String that do not need additional custom conversion. |
String |
StringUtil.toSeparatedString(Collection<?> collection,
String separator,
StringSyntax syntax)
This method formats the elements given by
collection to a string where each value is formatted to its
string representation and separated by separator . |
<E> String |
StringUtil.toSeparatedString(Collection<E> collection,
String separator,
StringSyntax syntax,
Formatter<E> formatter)
This method is like
StringUtil.toSeparatedString(Collection, String, StringSyntax) but allows to specify an explicit
Formatter to use instead of Object.toString() . |
<E> void |
StringUtil.toSeparatedString(Collection<E> collection,
String separator,
StringSyntax syntax,
Formatter<E> formatter,
Appendable buffer)
This method is like
StringUtil.toSeparatedString(Collection, String, StringSyntax) but allows to specify an explicit
Formatter to use instead of Object.toString() . |
Modifier and Type | Class and Description |
---|---|
class |
StringSyntaxBean
This is the implementation of
StringSyntax as simple Java bean. |
Modifier and Type | Method and Description |
---|---|
List<String> |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax) |
<E> void |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<? super String,? super E> converter,
Class<E> type) |
<E> void |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<E> collection,
ValueConverter<String,E> converter) |
void |
StringUtilImpl.fromSeparatedString(CharSequence separatedString,
String separator,
StringSyntax syntax,
Collection<String> collection) |
String |
StringUtilImpl.toSeparatedString(Collection<?> collection,
String separator,
StringSyntax syntax) |
<E> String |
StringUtilImpl.toSeparatedString(Collection<E> collection,
String separator,
StringSyntax syntax,
Formatter<E> formatter) |
<E> void |
StringUtilImpl.toSeparatedString(Collection<E> collection,
String separator,
StringSyntax syntax,
Formatter<E> formatter,
Appendable buffer) |
Modifier and Type | Interface and Description |
---|---|
interface |
CharScannerSyntax
This is the interface used to define the syntax to scan characters.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCharScannerSyntax
This is the abstract base implementation of the
CharScannerSyntax interface. |
class |
SimpleCharScannerSyntax
This class is a simple container for the special characters of a syntax to scan.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.