/** * Sets the CSV reader for the Vertices file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineVertices() { if (this.vertexReader != null) { this.vertexReader.ignoreFirstLine(); } return this; }
/** * Sets the CSV reader for the Edges file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineEdges() { this.edgeReader.ignoreFirstLine(); return this; }
@Test public void testIgnoreHeaderConfigure() { CsvReader reader = getCsvReader(); reader.ignoreFirstLine(); Assert.assertTrue(reader.skipFirstLineAsHeader); }
/** * Sets the CSV reader for the Vertices file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineVertices() { if(this.vertexReader != null) { this.vertexReader.ignoreFirstLine(); } return this; }
/** * Sets the CSV reader for the Vertices file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineVertices() { if (this.vertexReader != null) { this.vertexReader.ignoreFirstLine(); } return this; }
/** * Sets the CSV reader for the Edges file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineEdges() { this.edgeReader.ignoreFirstLine(); return this; }
/** * Sets the CSV reader for the Edges file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineEdges() { this.edgeReader.ignoreFirstLine(); return this; }
/** * Sets the CSV reader for the Vertices file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineVertices() { if (this.vertexReader != null) { this.vertexReader.ignoreFirstLine(); } return this; }
/** * Sets the CSV reader for the Edges file to ignore the first line. This is useful for files that contain a header line. * * @return The GraphCSVReader instance itself, to allow for fluent function chaining. */ public GraphCsvReader ignoreFirstLineEdges() { this.edgeReader.ignoreFirstLine(); return this; }