|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.BuilderList
public class BuilderList
Gives an xml-representation of a dir structure with builders Used by the build script to create documentation for builders.
| Constructor Summary | |
|---|---|
BuilderList()
|
|
| Method Summary | |
|---|---|
(package private) void |
listBuilders(ResourceLoader config,
Writer writer)
Lists all builders within a given path, including builders in sub-paths |
static void |
main(String[] args)
Main method can be called from an Ant build file and will return the xml with a listing of all the builders |
void |
write(Document doc,
StreamResult result)
Generates the document and writes it to the result object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuilderList()
| Method Detail |
|---|
public void write(Document doc,
StreamResult result)
throws TransformerException
result - the StreamResult object where to store the configuration'
TransformerException
void listBuilders(ResourceLoader config,
Writer writer)
throws IOException
ipath - the path to start searching. The path need be closed with a File.seperator character.
IOException
public static void main(String[] args)
throws UnsupportedEncodingException,
IOException
args - base dir to start with, it's possible to use more than one dir seperated by ;
UnsupportedEncodingException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||