All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.jtables.table.impl.DoubleTableReader Maven / Gradle / Ivy

Go to download

Simple and lightweight framework to work with tables and table based files such as CSV and other (tab)-delimited files.

There is a newer version: 2.2.2
Show newest version
package net.sf.jtables.table.impl;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;

import net.sf.jtables.table.AbstractTableReader;
import net.sf.jtables.table.AnnotatedMutableTable;

public class DoubleTableReader extends AbstractTableReader {

	public DoubleTableReader(File file, boolean columnIds, boolean rowIds,
			String delim) throws IOException {
		super(file, columnIds, rowIds, delim);
	}

	public DoubleTableReader(File file, boolean columnIds, boolean rowIds)
			throws IOException {
		super(file, columnIds, rowIds);
	}

	public DoubleTableReader(InputStream stream, boolean columnIds,
			boolean rowIds, String delim) throws IOException {
		super(stream, columnIds, rowIds, delim);
	}

	public DoubleTableReader(InputStream stream, boolean columnIds,
			boolean rowIds) throws IOException {
		super(stream, columnIds, rowIds);
	}

	public DoubleTableReader(Reader reader, boolean columnIds, boolean rowIds,
			String delim) throws IOException {
		super(reader, columnIds, rowIds, delim);
	}

	public DoubleTableReader(Reader reader, boolean columnIds, boolean rowIds)
			throws IOException {
		super(reader, columnIds, rowIds);
	}

	@Override
	protected AnnotatedMutableTable getInstance() {
		return new AnnotatedMutableTableImpl();
	}

	@Override
	protected Double parse(String s) throws NumberFormatException {
		return Double.parseDouble(s);
	}
	
	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy