org.solovyev.android.prefs
Class MultiSelectListPreference.Mapper
java.lang.Object
org.solovyev.android.prefs.MultiSelectListPreference.Mapper
- All Implemented Interfaces:
- org.solovyev.common.text.Formatter<List<String>>, org.solovyev.common.text.Mapper<List<String>>, org.solovyev.common.text.Parser<List<String>>
- Enclosing class:
- MultiSelectListPreference<T>
public static class MultiSelectListPreference.Mapper
- extends Object
- implements org.solovyev.common.text.Mapper<List<String>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiSelectListPreference.Mapper
public MultiSelectListPreference.Mapper(@Nonnull
String separator)
formatValue
public String formatValue(@Nullable
List<String> value)
throws IllegalArgumentException
- Specified by:
formatValue in interface org.solovyev.common.text.Formatter<List<String>>
- Throws:
IllegalArgumentException
parseValue
public List<String> parseValue(@Nullable
String value)
throws IllegalArgumentException
- Specified by:
parseValue in interface org.solovyev.common.text.Parser<List<String>>
- Throws:
IllegalArgumentException
Copyright © 2014 se.solovyev. All Rights Reserved.