5354555657585960
public DocFlavor(String mimeType, String className) { if ((mimeType == null) || (className == null)) { throw new NullPointerException(); } aType = new MimeType(mimeType); aClass = className; }
99100101102103104105
} // -------------------------------------------------------------- private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException { s.defaultReadObject(); aType = new MimeType((String) (s.readObject())); }