jdbreport.model.io.html
Class HTMLFileType

java.lang.Object
  extended by jdbreport.model.io.html.HTMLFileType
All Implemented Interfaces:
Comparable<FileType>, FileType
Direct Known Subclasses:
HTMLBodyFileType

public class HTMLFileType
extends Object
implements FileType

Version:
1.3 07.08.2009
Author:
Andrey Kholmanskih

Field Summary
protected  ReportWriter writer
           
 
Constructor Summary
HTMLFileType()
           
 
Method Summary
 int compareTo(FileType o)
           
 String getContentType()
           
 String getDescription()
           
 String[] getExtensions()
           
 int getOrder()
           
 ReportReader getReader()
           
 ReportWriter getWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected ReportWriter writer
Constructor Detail

HTMLFileType

public HTMLFileType()
Method Detail

getExtensions

public String[] getExtensions()
Specified by:
getExtensions in interface FileType

getDescription

public String getDescription()
Specified by:
getDescription in interface FileType

getReader

public ReportReader getReader()
Specified by:
getReader in interface FileType

getWriter

public ReportWriter getWriter()
Specified by:
getWriter in interface FileType

getContentType

public String getContentType()
Specified by:
getContentType in interface FileType
Returns:
MIME type

getOrder

public int getOrder()
Specified by:
getOrder in interface FileType
Returns:
Sorting number in the FileChooser

compareTo

public int compareTo(FileType o)
Specified by:
compareTo in interface Comparable<FileType>