Class DelimitedMarshallingContext

    • Constructor Detail

      • DelimitedMarshallingContext

        public DelimitedMarshallingContext()
    • Method Detail

      • setField

        public void setField​(int position,
                             java.lang.String fieldText,
                             boolean commit)
        Puts the field text in the record.
        Parameters:
        position - the position of the field in the record.
        fieldText - the field text
        commit - true to commit the current record, or false if the field is optional and should not extend the record unless a subsequent field is later appended to the record
      • toArray

        public java.lang.String[] toArray​(java.lang.Object record)
        Description copied from class: MarshallingContext
        Converts a record object to a String[].
        Overrides:
        toArray in class MarshallingContext
        Parameters:
        record - the record object to convert
        Returns:
        the String array result, or null if not supported
      • toList

        public java.util.List<java.lang.String> toList​(java.lang.Object record)
        Description copied from class: MarshallingContext
        Converts a record object to a List.
        Overrides:
        toList in class MarshallingContext
        Parameters:
        record - the record object to convert
        Returns:
        the List result, or null if not supported