/** * Returns a TextEncoding instance representing the specified String value * * @param stringValue * a String value * @return return a TextEncoding instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid TextEncoding */ public static TextEncoding valueOf(String stringValue) throws IllegalArgumentException { return new TextEncoding(stringValue); }
/** * Returns a TextEncoding instance representing the specified String value * * @param stringValue * a String value * @return return a TextEncoding instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid TextEncoding */ public static TextEncoding valueOf(String stringValue) throws IllegalArgumentException { return new TextEncoding(stringValue); }
/** * Returns a TextEncoding instance representing the specified String value * * @param stringValue * a String value * @return return a TextEncoding instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid TextEncoding */ public static TextEncoding valueOf(String stringValue) throws IllegalArgumentException { return new TextEncoding(stringValue); }