Examples of DocumentInterpreter


Examples of com.lightcrafts.ui.editor.assoc.DocumentInterpreter

//        DocumentDatabase.init(Startup);

        // Use the DocumentReader to allow the DocumentDatabase to recognize
        // sidecar JPEG, sidecar TIFF, and multilayer TIFF save formats:
        DocumentDatabase.addDocumentInterpreter(
            new DocumentInterpreter() {
                public File getImageFile(File file) {
                    DocumentReader.Interpretation interp =
                        DocumentReader.read(file);
                    return (interp != null) ? interp.imageFile : null;
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.