Package org.bzdev.net

Enum PemEncoder.EOL

java.lang.Object
java.lang.Enum<PemEncoder.EOL>
org.bzdev.net.PemEncoder.EOL
All Implemented Interfaces:
Serializable, Comparable<PemEncoder.EOL>
Enclosing class:
PemEncoder

public static enum PemEncoder.EOL extends Enum<PemEncoder.EOL>
End of line sequences.
  • Enum Constant Details

    • CRLF

      public static final PemEncoder.EOL CRLF
      A line ends with a carriage return followed by a line feed. This is the default
    • CR

      public static final PemEncoder.EOL CR
      A line ends with a carriage return.
    • LF

      public static final PemEncoder.EOL LF
      A line ends with a a line feed.
  • Method Details

    • values

      public static PemEncoder.EOL[] 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 PemEncoder.EOL valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null