com.fullspan.kat.bookmark
Class KatNetscapeBookmarkPrinter

java.lang.Object
  extended bycom.fullspan.kat.bookmark.KatNetscapeBookmarkPrinter
All Implemented Interfaces:
IKatEntryTreeWalkListener

public class KatNetscapeBookmarkPrinter
extends java.lang.Object
implements IKatEntryTreeWalkListener

Author:
Mitch Stuart

Field Summary
static java.lang.String CAT_FOOTER
           
static java.lang.String FILE_FOOTER
           
static java.lang.String FILE_HEADER
           
 
Constructor Summary
KatNetscapeBookmarkPrinter(java.io.OutputStream outStream)
           
 
Method Summary
protected  void appendSecondsAttrib(java.lang.String attribName, java.util.Date date)
           
 void onBeginCat(KatCategory cat)
           
 void onBeginTree()
           
 void onEndCat(KatCategory cat)
           
 void onEndTree()
           
 void onItem(KatItem item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_HEADER

public static final java.lang.String FILE_HEADER
See Also:
Constant Field Values

FILE_FOOTER

public static final java.lang.String FILE_FOOTER
See Also:
Constant Field Values

CAT_FOOTER

public static final java.lang.String CAT_FOOTER
See Also:
Constant Field Values
Constructor Detail

KatNetscapeBookmarkPrinter

public KatNetscapeBookmarkPrinter(java.io.OutputStream outStream)
Method Detail

onBeginTree

public void onBeginTree()
Specified by:
onBeginTree in interface IKatEntryTreeWalkListener
See Also:
IKatEntryTreeWalkListener.onBeginTree()

onEndTree

public void onEndTree()
Specified by:
onEndTree in interface IKatEntryTreeWalkListener
See Also:
IKatEntryTreeWalkListener.onEndTree()

onBeginCat

public void onBeginCat(KatCategory cat)
Specified by:
onBeginCat in interface IKatEntryTreeWalkListener
See Also:
IKatEntryTreeWalkListener.onBeginCat(com.fullspan.kat.domain.entity.KatCategory)

onEndCat

public void onEndCat(KatCategory cat)
Specified by:
onEndCat in interface IKatEntryTreeWalkListener
See Also:
IKatEntryTreeWalkListener.onEndCat(com.fullspan.kat.domain.entity.KatCategory)

onItem

public void onItem(KatItem item)
Specified by:
onItem in interface IKatEntryTreeWalkListener
See Also:
IKatEntryTreeWalkListener.onItem(com.fullspan.kat.domain.entity.KatItem)

appendSecondsAttrib

protected void appendSecondsAttrib(java.lang.String attribName,
                                   java.util.Date date)