org.tigris.subversion.javahl.tests
Class SVNTests.FileOutputer

java.lang.Object
  extended by org.tigris.subversion.javahl.tests.SVNTests.FileOutputer
All Implemented Interfaces:
OutputInterface
Enclosing class:
SVNTests

public class SVNTests.FileOutputer
extends java.lang.Object
implements OutputInterface

internal class which implements the OutputInterface to write the data to a file.


Constructor Summary
SVNTests.FileOutputer(java.io.File outputName)
          create new object
 
Method Summary
 void close()
          close the output
 int write(byte[] data)
          write the bytes in data to java
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVNTests.FileOutputer

public SVNTests.FileOutputer(java.io.File outputName)
                      throws java.io.IOException
create new object

Parameters:
outputName - the file to write the data to
Throws:
java.io.IOException
Method Detail

write

public int write(byte[] data)
          throws java.io.IOException
write the bytes in data to java

Specified by:
write in interface OutputInterface
Parameters:
data - the data to be writtem
Throws:
java.io.IOException - throw in case of problems.

close

public void close()
           throws java.io.IOException
close the output

Specified by:
close in interface OutputInterface
Throws:
java.io.IOException - throw in case of problems.