public static Representation create(final CharSequence sequence) {
        try {
            return new Representation(CharSource.wrap(sequence).openStream());
        } catch (final IOException ex) {
            throw new Error("Unexpected exception (!): " + ex.getMessage(), ex);
        }
    }
public static Representation create ( final CharSequence sequence ) { try { return new Representation ( CharSource . wrap ( sequence ) . openStream ( ) ) ; } catch ( final IOException ex ) { throw new Error ( "Unexpected exception (!): " + ex . getMessage ( ) , ex ) ; } }
Creates a representation based on the {@code CharSequence} specified. Upon request (e.g.,
invocation of {@link #getInputStream()}), character data produced by the {@code Reader}
will be translated into byte data either using the charset specified in the representation
metadata (property {@link NIE#MIME_TYPE}) or by using UTF-8.

@param sequence
the {@code CharSequence} with the character data of the representation
@return the created representation