|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.ucalgary.seahawk.gui.MobySaveDialog
public class MobySaveDialog
A utility to save the current document as XML or HTML, or the tab's history as a workflow.
Method Summary | |
---|---|
static URL |
convertToDisplayable(URL u)
|
static URLConnection |
convertToDisplayable(URLConnection uc)
A method for converting Microsoft Office documents (and perhaps other formats in the future) into text that Seahawk can load. |
static void |
exportDocument(MobyContentPane document)
|
static void |
exportHTML(MobyContentPane document,
File f)
|
static boolean |
exportWorkflow(MobyContentPane tab,
File f)
|
static void |
exportXML(MobyContentPane document,
File f)
|
static String |
getPreferredExtension(URLConnection uc)
Given a file name to import, returns the file extension that Seahawk would prefer to convert the document to. |
static boolean |
isConvertible(URLConnection uc)
|
static void |
showFileOpenDialog(MobyContentGUI mcg,
boolean useDefaultHandler)
|
void |
workflowCanceled(WorkflowPreviewDialog dialog)
|
void |
workflowConfirmed(WorkflowPreviewDialog dialog,
byte[] confirmedWorkflow)
Callback for when the user has approved the workflow preview and entered metadata. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FILE_CHOOSER_SAVE_TITLE
public static final String XML_DESC
public static final String TXT_DESC
public static final String RTF_DESC
public static final String CSV_DESC
public static final String TSV_DESC
public static final String PPT_DESC
public static final String ODT_DESC
public static final String WPD_DESC
public static final String ODS_DESC
public static final String ODP_DESC
public static final String DOC_DESC
public static final String XLS_DESC
public static final String TEX_DESC
public static final String PDF_DESC
public static final String HTML_DESC
public static final String T2FLOW_DESC
public static final String T2FLOW_EXT
public static final String XML_EXT
public static final String TXT_EXT
public static final String CSV_EXT
public static final String RTF_EXT
public static final String PPT_EXT
public static final String DOC_EXT
public static final String XLS_EXT
public static final String PDF_EXT
public static final String ODP_EXT
public static final String ODS_EXT
public static final String ODT_EXT
public static final String TSV_EXT
public static final String TEX_EXT
public static final String WPD_EXT
public static final String HTML_EXT
public static final String XLS_MIME
public static final String DOC_MIME
public static final String PPT_MIME
public static final String XLS_MIME2
public static final String DOC_MIME2
public static final String PPT_MIME2
public static final String ODT_MIME
public static final String ODS_MIME
public static final String ODP_MIME
public static final String CSV_MIME
public static final String CSV_MIME2
Method Detail |
---|
public static void exportDocument(MobyContentPane document)
public static void exportHTML(MobyContentPane document, File f)
public static boolean exportWorkflow(MobyContentPane tab, File f)
public void workflowCanceled(WorkflowPreviewDialog dialog)
workflowCanceled
in interface WorkflowPreviewListener
public void workflowConfirmed(WorkflowPreviewDialog dialog, byte[] confirmedWorkflow)
workflowConfirmed
in interface WorkflowPreviewListener
public static void exportXML(MobyContentPane document, File f)
public static void showFileOpenDialog(MobyContentGUI mcg, boolean useDefaultHandler)
public static URL convertToDisplayable(URL u) throws Exception
Exception
public static URLConnection convertToDisplayable(URLConnection uc) throws Exception
Exception
public static String getPreferredExtension(URLConnection uc)
public static boolean isConvertible(URLConnection uc)
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |