Class AppendableRepresentation

All Implemented Interfaces:
Appendable

public class AppendableRepresentation extends StringRepresentation implements Appendable
Represents an appendable sequence of characters.
Author:
Jerome Louvel
  • Constructor Details

    • AppendableRepresentation

      public AppendableRepresentation()
      Constructor. The following metadata are used by default: "text/plain" media type, no language and the ISO-8859-1 character set.
    • AppendableRepresentation

      public AppendableRepresentation(CharSequence text)
      Constructor. The following metadata are used by default: "text/plain" media type, no language and the ISO-8859-1 character set.
      Parameters:
      text - The string value.
    • AppendableRepresentation

      public AppendableRepresentation(CharSequence text, Language language)
      Constructor. The following metadata are used by default: "text/plain" media type, no language and the ISO-8859-1 character set.
      Parameters:
      text - The string value.
      language - The language.
    • AppendableRepresentation

      public AppendableRepresentation(CharSequence text, MediaType mediaType)
      Constructor. The following metadata are used by default: no language and the ISO-8859-1 character set.
      Parameters:
      text - The string value.
      mediaType - The media type.
    • AppendableRepresentation

      public AppendableRepresentation(CharSequence text, MediaType mediaType, Language language)
      Constructor. The following metadata are used by default: ISO-8859-1 character set.
      Parameters:
      text - The string value.
      mediaType - The media type.
      language - The language.
    • AppendableRepresentation

      public AppendableRepresentation(CharSequence text, MediaType mediaType, Language language, CharacterSet characterSet)
      Constructor.
      Parameters:
      text - The string value.
      mediaType - The media type.
      language - The language.
      characterSet - The character set.
  • Method Details