Enum Class Trim

java.lang.Object
java.lang.Enum<Trim>
net.sourceforge.plantuml.command.Trim
All Implemented Interfaces:
Serializable, Comparable<Trim>, Constable

public enum Trim extends Enum<Trim>
  • Enum Constant Details

    • BOTH

      public static final Trim BOTH
    • LEFT_ONLY

      public static final Trim LEFT_ONLY
    • NONE

      public static final Trim NONE
  • Method Details

    • values

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

      public static Trim valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • trim

      public String trim(StringLocated s)