@Test public void testGetTypeSubtype() { assertEquals("text/xml", new ContentType("text/xml").getTypeSubtype()); assertEquals("image/svg+xml", new ContentType(" image/svg+xml; charset=UTF-8").getTypeSubtype()); assertEquals("application/vnd.oasis.opendocument.text", new ContentType( " application/vnd.oasis.opendocument.text ; charset=UTF-8 ; version=1 ").getTypeSubtype()); }
public String getTypeSubtype() { return typeSubtype; }
ContentType { public String getTypeSubtype() { return typeSubtype; } }
ContentType { public String getTypeSubtype() { return typeSubtype; } ContentType(String str); }
ContentType { public String getTypeSubtype() { return typeSubtype; } ContentType(String str); String getTypeSubtype(); void setTypeSubtype(String typeSubtype); String getCharset(); @Override String toString(); }
ContentType { public String getTypeSubtype() { return typeSubtype; } ContentType(String str); String getTypeSubtype(); void setTypeSubtype(String typeSubtype); String getCharset(); @Override String toString();  }