rendsite.engine
Class CategoryManager

java.lang.Object
  extended by rendsite.engine.CategoryManager

public class CategoryManager
extends java.lang.Object

A Category Manager. It'll be hardcoded for now.

Author:
erich Version History
 10NOV09 - EPG - First package release.
 

Constructor Summary
CategoryManager()
          Constructor.
 
Method Summary
 Category get(java.lang.String id)
          Get a category by id.
 Category lookupExtension(java.lang.String extension)
          Look up an extension to see if it has a category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryManager

public CategoryManager()
                throws java.lang.Throwable
Constructor.

Throws:
java.lang.Throwable
Method Detail

lookupExtension

public Category lookupExtension(java.lang.String extension)
Look up an extension to see if it has a category.

Parameters:
extension - the extension. if null, the method will return a null.
Returns:
the category.
Throws:
java.lang.Throwable

get

public Category get(java.lang.String id)
Get a category by id.

Parameters:
id - the id. if null, the method will return a null.
Returns:
the category.
Throws:
java.lang.Throwable


rendsite.