@Test public void testCopy() throws IOException { String data = "testCopy\nasdf"; File file = TestFileUtils.createTempFile( data ); File target = new File( targetDir, "testCopy.txt" ); fileProcessor.copy( file, target ); assertEquals( data, TestFileUtils.readString( file ) ); file.delete(); }
public void copy( File source, File target ) throws IOException { copy( source, target, null ); }
DefaultFileProcessor implements FileProcessor { public void copy( File source, File target ) throws IOException { copy( source, target, null ); } }
DefaultFileProcessor implements FileProcessor { public void copy( File source, File target ) throws IOException { copy( source, target, null ); }  }
DefaultFileProcessor implements FileProcessor { public void copy( File source, File target ) throws IOException { copy( source, target, null ); }  boolean mkdirs( File directory ); void write( File target, String data ); void write( File target, InputStream source ); void copy( File source, File target ); long copy( File source, File target, ProgressListener listener ); void move( File source, File target ); }
DefaultFileProcessor implements FileProcessor { public void copy( File source, File target ) throws IOException { copy( source, target, null ); }  boolean mkdirs( File directory ); void write( File target, String data ); void write( File target, InputStream source ); void copy( File source, File target ); long copy( File source, File target, ProgressListener listener ); void move( File source, File target );  }