org.solovyev.android.prefs
Class MultiSelectListPreference.Mapper

java.lang.Object
  extended by 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>>


Constructor Summary
MultiSelectListPreference.Mapper(String separator)
           
 
Method Summary
 String formatValue(List<String> value)
           
 List<String> parseValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiSelectListPreference.Mapper

public MultiSelectListPreference.Mapper(@Nonnull
                                        String separator)
Method Detail

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.