September 2002
Intermediate to advanced
416 pages
14h 46m
English
StructuredDocumentFactory.Instantiator
This class maps between filename extensions and their MIME types. Each instantiator of structured documents can provide its own set of mappings. Developers do not access this class directly.
public static interface StructuredDocumentFactory.Instantiator { // Inner Classes public static class ExtensionMapping; // Public Instance Methods public abstract StructuredDocumentFactory.Instantiator.ExtensionMapping[ ] getSupportedFileExtensions(); public abstract MimeMediaType[ ] getSupportedMimeTypes(); public abstract StructuredDocument newInstance(MimeMediaType mimeType, InputStream source) throws IOException; public abstract StructuredDocument newInstance(MimeMediaType mimeType, String doctype); public abstract StructuredDocument newInstance(MimeMediaType mimeType, String doctype, String value); }
StructuredDocumentFactory.registerInstantiator()
Read now
Unlock full access