@Test public void testCopyEmptyFile() throws IOException { File file = TestFileUtils.createTempFile( "" ); File target = new File( targetDir, "testCopyEmptyFile" ); target.delete(); fileProcessor.copy( file, target ); assertTrue( "empty file was not copied", target.exists() && target.length() == 0 ); target.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 );  }