private static List < List < SegmentBase > > readSegmentLines ( ContainerSegmentBase container ) { List < List < SegmentBase >> lines = new ArrayList <> ( ) ; // Add the last line manually - there is no line separator to trigger // flush lines . add ( readSegmentLines ( lines , null , container ) ) ; return lines ; }
Read segment lines recursively .