org.codehaus.mojo.smc
Class DotConvertor

java.lang.Object
  extended by org.codehaus.mojo.smc.DotConvertor

public class DotConvertor
extends java.lang.Object

Graphviz companion class :)

Version:
$Id: DotConvertor.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Jerome Lacoste

Constructor Summary
DotConvertor()
           
 
Method Summary
static int convert(java.io.File file, java.lang.String format, org.apache.maven.plugin.logging.Log log)
          Convert the specified .dot files to the specified formats using the graphviz tool
static void convert(java.util.List files, java.lang.String[] formats, org.apache.maven.plugin.logging.Log log)
          Convert the specified .dot files to the specified formats using the graphviz tool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotConvertor

public DotConvertor()
Method Detail

convert

public static void convert(java.util.List files,
                           java.lang.String[] formats,
                           org.apache.maven.plugin.logging.Log log)
                    throws org.codehaus.plexus.util.cli.CommandLineException
Convert the specified .dot files to the specified formats using the graphviz tool

Throws:
org.codehaus.plexus.util.cli.CommandLineException
See Also:
convert(java.io.File, String, org.apache.maven.plugin.logging.Log)

convert

public static int convert(java.io.File file,
                          java.lang.String format,
                          org.apache.maven.plugin.logging.Log log)
                   throws org.codehaus.plexus.util.cli.CommandLineException
Convert the specified .dot files to the specified formats using the graphviz tool

Parameters:
file -
format - e.g. "png", "gif"
log -
Throws:
org.codehaus.plexus.util.cli.CommandLineException


Copyright © 2006-2010. All Rights Reserved.