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

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

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

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

/**
 * 

* RandomAccessInputSource interface. *

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

* close. *

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

* open. *

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

* read. *

* * @param originalInputFileIndex a int. * @param originalBytes an array of byte. * @param originalLocation a long. * @param originalSize a int. * @return a int. * @throws java.io.IOException if any. */ public int read(int originalInputFileIndex, byte[] originalBytes, long originalLocation, int originalSize) throws IOException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy