/** * Generate the index to the specified file. * * @param file the file to write the index file * @throws IOException if a file cannot be indexed */ public void index(File file) throws IOException { repository().save(requireNonNull(file)); }
/** * Generate the index to the specified output stream. * * @param outputStream the output stream to write the index file * @throws IOException if a file cannot be indexed */ public void index(OutputStream outputStream) throws IOException { repository().save(requireNonNull(outputStream)); }
/** * Generate the index to the specified output stream. * * @param outputStream the output stream to write the index file * @throws IOException if a file cannot be indexed */ public void index(OutputStream outputStream) throws IOException { repository().save(requireNonNull(outputStream)); }
/** * Generate the index to the specified file. * * @param file the file to write the index file * @throws IOException if a file cannot be indexed */ public void index(File file) throws IOException { repository().save(requireNonNull(file)); }