is.idega.idegaweb.golf.tournament.business
Class ExcelWriter

java.lang.Object
  extended by is.idega.idegaweb.golf.tournament.business.ExcelWriter
All Implemented Interfaces:
com.idega.io.MediaWritable
Direct Known Subclasses:
PrintStickersWriter, PrintUnfilledLeaderBoardWriter

public abstract class ExcelWriter
extends java.lang.Object
implements com.idega.io.MediaWritable

Author:
aron ExcelWriter TODO Describe this type

Field Summary
protected  com.idega.io.MemoryFileBuffer buffer
           
protected  com.idega.idegaweb.IWResourceBundle iwrb
           
protected  java.lang.String tournamentRoundID
           
 
Fields inherited from interface com.idega.io.MediaWritable
PRM_WRITABLE_CLASS
 
Constructor Summary
ExcelWriter()
           
 
Method Summary
 java.lang.String getMimeType()
           
 void init(javax.servlet.http.HttpServletRequest req, com.idega.presentation.IWContext iwc)
           
protected  java.lang.String localize(java.lang.String key, java.lang.String defaultString)
           
abstract  void writeFileContent(com.idega.presentation.IWContext iwc, com.idega.io.MemoryOutputStream out)
           
 void writeTo(java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tournamentRoundID

protected java.lang.String tournamentRoundID

buffer

protected com.idega.io.MemoryFileBuffer buffer

iwrb

protected com.idega.idegaweb.IWResourceBundle iwrb
Constructor Detail

ExcelWriter

public ExcelWriter()
Method Detail

getMimeType

public java.lang.String getMimeType()
Specified by:
getMimeType in interface com.idega.io.MediaWritable

localize

protected java.lang.String localize(java.lang.String key,
                                    java.lang.String defaultString)

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Specified by:
writeTo in interface com.idega.io.MediaWritable
Throws:
java.io.IOException

init

public void init(javax.servlet.http.HttpServletRequest req,
                 com.idega.presentation.IWContext iwc)
Specified by:
init in interface com.idega.io.MediaWritable

writeFileContent

public abstract void writeFileContent(com.idega.presentation.IWContext iwc,
                                      com.idega.io.MemoryOutputStream out)


Copyright © 2000-2014 idega software. All Rights Reserved.