jfxtras.icalendarfx.utilities.DefaultStringConverter Maven / Gradle / Ivy
package jfxtras.icalendarfx.utilities;
import jfxtras.icalendarfx.utilities.StringConverter;
/**
* {@link StringConverter} implementation for {@link String} values.
* Copied JavaFx implementation for use in Java EE
*/
public class DefaultStringConverter implements StringConverter {
/** {@inheritDoc} */
@Override public String toString(String value) {
return (value != null) ? value : "";
}
/** {@inheritDoc} */
@Override public String fromString(String value) {
return value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy