|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
ru.onego.industrial.catalog.reports.AbstractReport
ru.onego.industrial.catalog.reports.TextReport
public final class TextReport
Store report in the file of text format.
| Constructor Summary | |
|---|---|
TextReport()
|
|
| Method Summary | |
|---|---|
void |
createReport(java.lang.String filename)
Creates new report and stores in the file specified by the filename. |
java.lang.String |
getName()
Returns report name. |
java.lang.String |
getStdFileExt()
Return extension of the report file. |
java.lang.String |
getStdFilenameExt()
|
void |
setCatalog(Catalog catalog)
Sets catalog to be shown with help of this report. |
| Methods inherited from class ru.onego.industrial.catalog.reports.AbstractReport |
|---|
getCatalog |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextReport()
| Method Detail |
|---|
public void setCatalog(Catalog catalog)
AbstractReport
setCatalog in interface ReportsetCatalog in class AbstractReportcatalog - Catalog object to be shown
public void createReport(java.lang.String filename)
throws ru.onego.industrial.catalog.reports.ReportException
createReport in interface ReportcreateReport in class AbstractReportfilename - Name of the file storing text report
ReportExceptionpublic java.lang.String getName()
getName in interface ReportgetName in class AbstractReportpublic java.lang.String getStdFilenameExt()
public java.lang.String getStdFileExt()
getStdFileExt in interface ReportgetStdFileExt in class AbstractReport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||