Enum FileFormat

java.lang.Object
java.lang.Enum<FileFormat>
net.sourceforge.plantuml.FileFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FileFormat>, java.lang.constant.Constable

public enum FileFormat extends java.lang.Enum<FileFormat>
Format for output files generated by PlantUML.
  • Enum Constant Details

  • Field Details

    • gg

      public static final java.awt.Graphics2D gg
  • Method Details

    • values

      public static FileFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FileFormat 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
    • getMimeType

      public java.lang.String getMimeType()
    • getFileSuffix

      public java.lang.String getFileSuffix()
      Returns the file format to be used for that format.
      Returns:
      a string starting by a point.
    • getDefaultStringBounder

      public StringBounder getDefaultStringBounder()
    • getDefaultStringBounder

      public StringBounder getDefaultStringBounder(TikzFontDistortion tikzFontDistortion, SvgCharSizeHack charSizeHack)
    • isEps

      public boolean isEps()
      Check if this file format is Encapsulated PostScript.
      Returns:
      true for EPS.
    • changeName

      public java.lang.String changeName(java.lang.String fileName, int cpt)
    • doesSupportMetadata

      public boolean doesSupportMetadata()
    • equalsMetadata

      public boolean equalsMetadata(java.lang.String currentMetadata, SFile existingFile)