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

com.codetaco.funnel.provider.InputReader Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package com.codetaco.funnel.provider;

import java.io.File;
import java.io.IOException;
import java.text.ParseException;

/**
 * 

* InputReader interface. *

* * @author Chris DeGreef [email protected] */ public interface InputReader { /** *

* close. *

* * @throws java.io.IOException if any. * @throws java.text.ParseException if any. */ void close() throws IOException, ParseException; /** *

* length. *

* * @return a long. * @throws java.io.IOException if any. */ long length() throws IOException; /** *

* open. *

* * @param _inputFile a {@link java.io.File} object. * @throws java.io.IOException if any. * @throws java.text.ParseException if any. */ void open(File _inputFile) throws IOException, ParseException; /** *

* position. *

* * @return a long. * @throws java.io.IOException if any. */ long position() throws IOException; /** *

* read. *

* * @param row an array of byte. * @return a int. * @throws java.io.IOException if any. */ int read(final byte[] row) throws IOException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy