/** * serialize to a given directory and filename * <p>* it is preferred to specify a designated directory (for example META-INF/reflections), * so that it could be found later much faster using the load method * <p>see the documentation for the save method on the configured {@link org.reflections.serializers.Serializer} */ public File save(final String filename) { return save(filename, configuration.getSerializer()); }
/** * serialize to a given directory and filename * <p>* it is preferred to specify a designated directory (for example META-INF/reflections), * so that it could be found later much faster using the load method * <p>see the documentation for the save method on the configured {@link org.reflections.serializers.Serializer} */ public File save(final String filename) { return save(filename, configuration.getSerializer()); }
/** * serialize to a given directory and filename * <p>* it is preferred to specify a designated directory (for example META-INF/reflections), * so that it could be found later much faster using the load method * <p>see the documentation for the save method on the configured {@link org.reflections.serializers.Serializer} */ public File save(final String filename) { return save(filename, configuration.getSerializer()); }
/** * serialize to a given directory and filename * <p>* it is preferred to specify a designated directory (for example META-INF/reflections), * so that it could be found later much faster using the load method * <p>see the documentation for the save method on the configured {@link org.reflections.serializers.Serializer} */ public File save(final String filename) { return save(filename, configuration.getSerializer()); }
public File save(final String filename) { return save(filename , configuration.getSerializer()); }
/** * Generates the Reflections metadata index file */ @TaskAction public void generateMetadataIndex() { Project project = this.getProject(); // tell reflections to use the project logger Reflections.log = project.getLogger(); // get extension config ReflectionsPluginExtension extension = getExtension(); // obtain and initialize output directory File outputDir = resolveIndexFileDestinationDir(); // create the Reflections index file Reflections reflections = new Reflections(ObjectArrays.concat(this.parseOutputDirUrl(), extension.getParams())); reflections.save(outputDir + File.separator + extension.getIndexFilename()); }