jdbreport.model.io.poi.xls
Class XlsFileType

java.lang.Object
  extended by jdbreport.model.io.poi.xls.XlsFileType
All Implemented Interfaces:
Comparable<FileType>, FileType

public class XlsFileType
extends Object
implements FileType

Version:
1.0 07.08.2009
Author:
Andrey Kholmanskih

Constructor Summary
XlsFileType()
           
 
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
 

Constructor Detail

XlsFileType

public XlsFileType()
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>