MCPcopy Create free account
hub / github.com/M66B/FairEmail / readExternal

Method readExternal

app/src/main/java/javax/activation/MimeType.java:276–283  ·  view source on GitHub ↗

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

(ObjectInput in)

Source from the content-addressed store, hash-verified

274 * restored cannot be found.
275 */
276 public void readExternal(ObjectInput in)
277 throws IOException, ClassNotFoundException {
278 try {
279 parse(in.readUTF());
280 } catch (MimeTypeParseException e) {
281 throw new IOException(e.toString());
282 }
283 }
284
285 // below here be scary parsing related things
286

Callers 1

getCommandObjectMethod · 0.80

Calls 2

parseMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected