TUM CCSM Commons

edu.tum.cs.commons.graph
Enum EGraphvizOutputFormat

java.lang.Object
  extended by java.lang.Enum<EGraphvizOutputFormat>
      extended by edu.tum.cs.commons.graph.EGraphvizOutputFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EGraphvizOutputFormat>

public enum EGraphvizOutputFormat
extends java.lang.Enum<EGraphvizOutputFormat>

Enumeration for the different output formats supported by Graphviz.

Version:
$Rev: 26283 $
Author:
Florian Deissenboeck, $Author: juergens $
Rating:
GREEN Hash: 93708A2516E77EFF1803AA7B78296D41

Enum Constant Summary
CANON
          canon
DOT
          dot
GIF
          gif
JPG
          jpeg
PNG
          png
PS2
          ps2
SVG
          svg
 
Method Summary
 java.lang.String getDescription()
          Get format description.
 java.lang.String getFileExtension()
          Get file extension typically used for this format.
static EGraphvizOutputFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EGraphvizOutputFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CANON

public static final EGraphvizOutputFormat CANON
canon


DOT

public static final EGraphvizOutputFormat DOT
dot


GIF

public static final EGraphvizOutputFormat GIF
gif


JPG

public static final EGraphvizOutputFormat JPG
jpeg


PS2

public static final EGraphvizOutputFormat PS2
ps2


PNG

public static final EGraphvizOutputFormat PNG
png


SVG

public static final EGraphvizOutputFormat SVG
svg

Method Detail

values

public static EGraphvizOutputFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EGraphvizOutputFormat c : EGraphvizOutputFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EGraphvizOutputFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDescription

public java.lang.String getDescription()
Get format description.


getFileExtension

public java.lang.String getFileExtension()
Get file extension typically used for this format.


TUM CCSM Commons

TUM CCSM Commons - 2.7