commons/http/src/main/java/org/ldp4j/http/Languages.java
public static Language fromString(final String language) {
		requireNonNull(language,"Language cannot be null");
		if(WILDCARD.equals(language)) {
			return wildcard();
		} else {
			return of(parseLocale(language));
		}
	}
public static Language fromString(final String language) {
		requireNonNull(language,"Language cannot be null");
		if(WILDCARD.equals(language)) {
			return wildcard();
		} else {
			return of(parseLocale(language));
		}
	}
Create a {@code Language} instance from a valid {@code language-range}
definition.

@param language
the language-range for the language to be loaded.
@return the {@code Language} instance for the specified language-range
@throws NullPointerException
if {@code language} is null
@throws IllegalArgumentException
if {@code language} is not a valid {@code language-range}
@see <a href="http://tools.ietf.org/html/rfc4674#section-2.1">RFC 4674 -
Section 2.1</a>
@see <a href="http://tools.ietf.org/html/rfc7231#section-5.3.5">RFC 7231
- Section 5.3.5</a>