net.sf.jameleon.util
Class SupportedTags

java.lang.Object
  extended by net.sf.jameleon.util.SupportedTags

public class SupportedTags
extends Object


Field Summary
protected  String customTags
           
static String DEFAULT_CUSTOM_TAGS
           
static String DEFAULT_JAMELEON_TAGS
           
protected  String jameleonTags
           
protected  String pluginsFile
           
protected  Map tags
           
protected  boolean warnOnNoPluginsFile
           
 
Constructor Summary
SupportedTags()
           
 
Method Summary
 String[] getPlugins()
           
 String getPluginsFile()
           
protected  String getPropertiesFile(String propsName)
           
protected  Properties getPropertiesFromFile(String filename)
           
 Map getSupportedTags()
           
 Map getTags()
          A short-circuit method used to just get the tags for a specific file.
 Map getTagsFromFile(String fileName)
           
 boolean getWarnOnNoPluginsFile()
           
 void setPluginsFile(String pluginsFile)
           
 void setTagsFor(Map tags, String propName)
           
 void setWarnOnNoPluginsFile(boolean warnOnNoPluginsFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_JAMELEON_TAGS

public static final String DEFAULT_JAMELEON_TAGS
See Also:
Constant Field Values

DEFAULT_CUSTOM_TAGS

public static final String DEFAULT_CUSTOM_TAGS
See Also:
Constant Field Values

pluginsFile

protected String pluginsFile

jameleonTags

protected String jameleonTags

customTags

protected String customTags

warnOnNoPluginsFile

protected boolean warnOnNoPluginsFile

tags

protected Map tags
Constructor Detail

SupportedTags

public SupportedTags()
Method Detail

getSupportedTags

public Map getSupportedTags()

getTags

public Map getTags()
A short-circuit method used to just get the tags for a specific file. First call setTagsFor followed by this file. To use this repeatedly, be sure to clear the Map returned by this method or the tags will be appended to the Map being returned.


setTagsFor

public void setTagsFor(Map tags,
                       String propName)

setPluginsFile

public void setPluginsFile(String pluginsFile)

getPluginsFile

public String getPluginsFile()

getPropertiesFile

protected String getPropertiesFile(String propsName)

setWarnOnNoPluginsFile

public void setWarnOnNoPluginsFile(boolean warnOnNoPluginsFile)

getWarnOnNoPluginsFile

public boolean getWarnOnNoPluginsFile()

getPropertiesFromFile

protected Properties getPropertiesFromFile(String filename)

getPlugins

public String[] getPlugins()

getTagsFromFile

public Map getTagsFromFile(String fileName)


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.