@Nullable public Color parse(@Nullable String str) throws ParseException { return isBlank(str) ? null : delegate.parse(str); }
/** * Returns the pattern used by this {@code ColorFormatter} * * @return the pattern this {@code ColorFormatter} uses for parsing/formatting. */ @Nonnull public String getPattern() { return delegate.getPattern(); }
@Nullable public String format(@Nullable Color color) { return color == null ? null : delegate.format(color); }