Enum Class StreamingCpfWriter.HeaderLineWriter

java.lang.Object
java.lang.Enum<StreamingCpfWriter.HeaderLineWriter>
org.orekit.files.ilrs.StreamingCpfWriter.HeaderLineWriter
All Implemented Interfaces:
Serializable, Comparable<StreamingCpfWriter.HeaderLineWriter>, Constable
Enclosing class:
StreamingCpfWriter

public static enum StreamingCpfWriter.HeaderLineWriter extends Enum<StreamingCpfWriter.HeaderLineWriter>
Writer for specific header lines.
  • Enum Constant Details

  • Method Details

    • values

      public static StreamingCpfWriter.HeaderLineWriter[] 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 StreamingCpfWriter.HeaderLineWriter 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
    • write

      public abstract void write(CPFHeader cpfHeader, Appendable cpfWriter, TimeScale timescale) throws IOException
      Write a line.
      Parameters:
      cpfHeader - container for header data
      cpfWriter - writer
      timescale - time scale for dates
      Throws:
      IOException - if any buffer writing operations fail or if the underlying format doesn't support a configuration in the file
    • getIdentifier

      public String getIdentifier()
      Get the regular expression for identifying line.
      Returns:
      the regular expression for identifying line