org.apache.james.nntpserver.repository
Class NNTPRepositoryImpl
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.james.nntpserver.repository.NNTPRepositoryImpl
- All Implemented Interfaces:
- org.apache.avalon.phoenix.Block, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, NNTPRepository
- public class NNTPRepositoryImpl
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements NNTPRepository, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.phoenix.Block
NNTP Repository implementation.
- Author:
- Harmeet Bedi
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NNTPRepositoryImpl
public NNTPRepositoryImpl()
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
- Specified by:
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
org.apache.avalon.framework.context.ContextException
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
initialize
public void initialize()
throws java.lang.Exception
- Specified by:
initialize
in interface org.apache.avalon.framework.activity.Initializable
java.lang.Exception
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interface NNTPRepository
getGroup
public NNTPGroup getGroup(java.lang.String groupName)
- Specified by:
getGroup
in interface NNTPRepository
getArticleFromID
public NNTPArticle getArticleFromID(java.lang.String id)
- Specified by:
getArticleFromID
in interface NNTPRepository
createArticle
public void createArticle(NNTPLineReader reader)
- Specified by:
createArticle
in interface NNTPRepository
getMatchedGroups
public java.util.Iterator getMatchedGroups(java.lang.String wildmat)
- Specified by:
getMatchedGroups
in interface NNTPRepository
getGroupsSince
public java.util.Iterator getGroupsSince(java.util.Date dt)
- Specified by:
getGroupsSince
in interface NNTPRepository
getArticlesSince
public java.util.Iterator getArticlesSince(java.util.Date dt)
- Specified by:
getArticlesSince
in interface NNTPRepository
"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."