App
ImageFile.java
Go to the documentation of this file.
1 package mhr.appcore.interfaces;
2 
3 import mhr.appcore.bitmap.BitmapInfo;
4 import mhr.appcore.interfaces.exceptions.ImageFileInputException;
5 import mhr.appcore.interfaces.exceptions.ImageFileOutputException;
6 
7 import org.w3c.dom.Document;
8 
9 public interface ImageFile {
10 
11  public Document getDocument();
12  public void writeDocument() throws ImageFileOutputException;
13 
15 
16  public PDBitmap loadBitmap(String fName) throws ImageFileInputException;
17  public void writeBitmap(PDBitmap bitmap, String fName) throws ImageFileOutputException;
18 
19  public PDBitmap loadMask(String fName) throws ImageFileInputException;;
20  public void writeMask(PDBitmap mask, String fName) throws ImageFileOutputException;
21 
23  public void saveOutput(PDBitmap output) throws ImageFileOutputException;
24 
25  public void deleteFile();
26 
27 }