public static enum StreamingCpfWriter.HeaderLineWriter extends Enum<StreamingCpfWriter.HeaderLineWriter>
Enum Constant and Description |
---|
H1
Header first line.
|
H2
Header second line.
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
Get the regular expression for identifying line.
|
static StreamingCpfWriter.HeaderLineWriter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamingCpfWriter.HeaderLineWriter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
abstract void |
write(CPFHeader cpfHeader,
Appendable cpfWriter,
TimeScale timescale)
Write a line.
|
public static final StreamingCpfWriter.HeaderLineWriter H1
public static final StreamingCpfWriter.HeaderLineWriter H2
public static StreamingCpfWriter.HeaderLineWriter[] values()
for (StreamingCpfWriter.HeaderLineWriter c : StreamingCpfWriter.HeaderLineWriter.values()) System.out.println(c);
public static StreamingCpfWriter.HeaderLineWriter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void write(CPFHeader cpfHeader, Appendable cpfWriter, TimeScale timescale) throws IOException
cpfHeader
- container for header datacpfWriter
- writertimescale
- time scale for datesIOException
- if any buffer writing operations fail or if the underlying
format doesn't support a configuration in the filepublic String getIdentifier()
Copyright © 2002-2021 CS GROUP. All rights reserved.