public static void storeFilelistToProperties ( final File output , final File input , final String comments ) throws IOException { final Properties prop = readFilelistToProperties ( input ) ; try ( final OutputStream out = StreamExtensions . getOutputStream ( output , true ) ) { prop . store ( out , comments ) ; } final OutputStream out = StreamExtensions . getOutputStream ( output , true ) ; prop . store ( out , comments ) ; }
Stores a komma seperated file to a properties object . As key is the number from the counter .