biz.hammurapi.web.mda
Class JavaFileRootChannel

java.lang.Object
  extended bybiz.hammurapi.web.mda.AbstractChannel
      extended bybiz.hammurapi.web.mda.MemoryChannelBase
          extended bybiz.hammurapi.web.mda.FileRootChannel
              extended bybiz.hammurapi.web.mda.JavaFileRootChannel
All Implemented Interfaces:
biz.hammurapi.util.Attributable, Channel, RootChannel

public class JavaFileRootChannel
extends FileRootChannel

Outputs channels to files. Channel name shall be a fully qualified Java class name.

Author:
Pavel

Constructor Summary
JavaFileRootChannel(java.io.File outputDir)
           
 
Method Summary
protected  java.lang.String fileName(java.lang.String channelName)
          Converts channel name to file name.
 
Methods inherited from class biz.hammurapi.web.mda.FileRootChannel
flush
 
Methods inherited from class biz.hammurapi.web.mda.MemoryChannelBase
createSubChannel, createWriter
 
Methods inherited from class biz.hammurapi.web.mda.AbstractChannel
getAttribute, getChannel, getChannel, getParts, getWriter, getWriter, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface biz.hammurapi.web.mda.Channel
getChannel, getChannel, getParts, getWriter, getWriter
 
Methods inherited from interface biz.hammurapi.util.Attributable
getAttribute, removeAttribute, setAttribute
 

Constructor Detail

JavaFileRootChannel

public JavaFileRootChannel(java.io.File outputDir)
Method Detail

fileName

protected java.lang.String fileName(java.lang.String channelName)
Description copied from class: FileRootChannel
Converts channel name to file name. By default returns channel name.

Overrides:
fileName in class FileRootChannel
Parameters:
channelName -
Returns:


Copyright © 2006 Hammurapi Group. All Rights Reserved.