org.tigris.subversion.javahl.tests

Class SVNTests.FileInputer

public class SVNTests.FileInputer extends Object implements InputInterface

internal class which implements the InputInterface to read the data from a file.
Constructor Summary
FileInputer(File inputName)
create a new object
Method Summary
voidclose()
close the input
intread(byte[] data)
read the number of data.length bytes from input.

Constructor Detail

FileInputer

public FileInputer(File inputName)
create a new object

Parameters: inputName the file from which the data is read

Throws: IOException

Method Detail

close

public void close()
close the input

Throws: IOException throw in case of problems.

read

public int read(byte[] data)
read the number of data.length bytes from input.

Parameters: data array to store the read bytes.

Throws: IOException throw in case of problems.