@Test public void testDoDefaultToUsAsciiWhenUntyped() throws Exception { BodyDescriptorBuilder builder = new DefaultBodyDescriptorBuilder(); builder.addField(new RawField("To", "me@example.org")); BodyDescriptor bd = builder.build(); Assert.assertEquals("us-ascii", bd.getCharset()); }
public String getCharset() { return charset; }
MaximalBodyDescriptor implements BodyDescriptor { public String getCharset() { return charset; } }
MaximalBodyDescriptor implements BodyDescriptor { public String getCharset() { return charset; } MaximalBodyDescriptor(
            final String mimeType,
            final String mediaType,
            final String subType,
            final String boundary,
            final String charset,
            final Map<String, ParsedField> fields); }
MaximalBodyDescriptor implements BodyDescriptor { public String getCharset() { return charset; } MaximalBodyDescriptor(
            final String mimeType,
            final String mediaType,
            final String subType,
            final String boundary,
            final String charset,
            final Map<String, ParsedField> fields); String getMimeType(); String getBoundary(); String getCharset(); String getMediaType(); String getSubType(); Map<String, String> getContentTypeParameters(); String getTransferEncoding(); long getContentLength(); int getMimeMajorVersion(); int getMimeMinorVersion(); String getContentDescription(); String getContentId(); String getContentDispositionType(); Map<String, String> getContentDispositionParameters(); String getContentDispositionFilename(); Date getContentDispositionModificationDate(); Date getContentDispositionCreationDate(); Date getContentDispositionReadDate(); long getContentDispositionSize(); List<String> getContentLanguage(); String getContentLocation(); String getContentMD5Raw(); @Override String toString(); }
MaximalBodyDescriptor implements BodyDescriptor { public String getCharset() { return charset; } MaximalBodyDescriptor(
            final String mimeType,
            final String mediaType,
            final String subType,
            final String boundary,
            final String charset,
            final Map<String, ParsedField> fields); String getMimeType(); String getBoundary(); String getCharset(); String getMediaType(); String getSubType(); Map<String, String> getContentTypeParameters(); String getTransferEncoding(); long getContentLength(); int getMimeMajorVersion(); int getMimeMinorVersion(); String getContentDescription(); String getContentId(); String getContentDispositionType(); Map<String, String> getContentDispositionParameters(); String getContentDispositionFilename(); Date getContentDispositionModificationDate(); Date getContentDispositionCreationDate(); Date getContentDispositionReadDate(); long getContentDispositionSize(); List<String> getContentLanguage(); String getContentLocation(); String getContentMD5Raw(); @Override String toString();  }