public static void copyCMYKimages(String target_dir){
  final File cmyk_d=new File(cmyk_dir);
  if (cmyk_d.exists()) {
    final String[] file_list=cmyk_d.list();
    if (file_list.length > 0) {
      if (!target_dir.endsWith(separator)) {
        target_dir+=separator;
      }
      final File test_d=new File(target_dir);
      if (!test_d.exists()) {
        test_d.mkdirs();
      }
    }
    for (    final String aFile_list : file_list) {
      final File source=new File(cmyk_dir + aFile_list);
      final File dest=new File(target_dir + aFile_list);
      source.renameTo(dest);
    }
  }
}

public static void copyCMYKimages ( String target_dir ) { final File cmyk_d = new File ( cmyk_dir ) ; if ( cmyk_d . exists ( ) ) { final String [ ] file_list = cmyk_d . list ( ) ; if ( file_list . length > 0 ) { if ( ! target_dir . endsWith ( separator ) ) { target_dir += separator ; } final File test_d = new File ( target_dir ) ; if ( ! test_d . exists ( ) ) { test_d . mkdirs ( ) ; } } for ( final String aFile_list : file_list ) { final File source = new File ( cmyk_dir + aFile_list ) ; final File dest = new File ( target_dir + aFile_list ) ; source . renameTo ( dest ) ; } } }
copies cmyk raw data from cmyk temp dir to target directory .
