/** merges saved Reflections resources from the given input stream, using the serializer configured in this instance's Configuration * <br> useful if you know the serialized resource location and prefer not to look it up the classpath * */ public Reflections collect(final InputStream inputStream) { try { merge(configuration.getSerializer().read(inputStream)); if (log != null) log.info("Reflections collected metadata from input stream using serializer " + configuration.getSerializer().getClass().getName()); } catch (Exception ex) { throw new ReflectionsException("could not merge input stream", ex); } return this; }
/** merges saved Reflections resources from the given input stream, using the serializer configured in this instance's Configuration * <br> useful if you know the serialized resource location and prefer not to look it up the classpath * */ public Reflections collect(final InputStream inputStream) { try { merge(configuration.getSerializer().read(inputStream)); if (log != null) log.info("Reflections collected metadata from input stream using serializer " + configuration.getSerializer().getClass().getName()); } catch (Exception ex) { throw new ReflectionsException("could not merge input stream", ex); } return this; }
try { inputStream = file.openInputStream(); reflections.merge(serializer.read(inputStream)); } catch (IOException e) { throw new ReflectionsException("could not merge " + file, e);
try { inputStream = file.openInputStream(); reflections.merge(serializer.read(inputStream)); } catch (IOException e) { throw new ReflectionsException("could not merge " + file, e);
public void scanPackages(String... packages) { reflections.merge(new Reflections(packages)); buildSerializableClassList(); }
private void rescannImpl(final ConfigurationBuilder configuration) { synchronized (obj) { final LocalDateTime now = LocalDateTime.now(); final Reflections reflections = new Reflections(configuration); this.reflections.merge(reflections); refreshActivatedPkgMap(now, reflections); clearCaches(); } }
/** merges saved Reflections resources from the given input stream, using the serializer configured in this instance's Configuration * <br> useful if you know the serialized resource location and prefer not to look it up the classpath * */ public Reflections collect(final InputStream inputStream) { try { merge(configuration.getSerializer().read(inputStream)); if (log != null) log.info("Reflections collected metadata from input stream using serializer " + configuration.getSerializer().getClass().getName()); } catch (Exception ex) { throw new ReflectionsException("could not merge input stream", ex); } return this; }
/** merges saved Reflections resources from the given input stream, using the serializer configured in this instance's Configuration * <br> useful if you know the serialized resource location and prefer not to look it up the classpath * */ public Reflections collect(final InputStream inputStream) { try { merge(configuration.getSerializer().read(inputStream)); if (log != null) log.info("Reflections collected metadata from input stream using serializer " + configuration.getSerializer().getClass().getName()); } catch (Exception ex) { throw new ReflectionsException("could not merge input stream", ex); } return this; }
public Reflections collect(final InputStream inputStream) { try { merge(configuration.getSerializer().read(inputStream)); if (LOGGER != null) LOGGER.info("Reflections collected metadata from input stream using serializer " + configuration.getSerializer().getClass().getName()); } catch (Exception ex) { throw new ReflectionsException("could not merge input stream" , ex); } return this; }
@Override protected void configure() { Reflections reflections = new Reflections(ConfigBuilderModule.BASE_PACKAGE).merge(new Reflections(BASE_PACKAGE));
try { inputStream = file.openInputStream(); reflections.merge(serializer.read(inputStream)); } catch (IOException e) { throw new ReflectionsException("could not merge " + file, e);
try { inputStream = file.openInputStream(); reflections.merge(serializer.read(inputStream)); } catch (IOException e) { throw new ReflectionsException("could not merge " + file, e);
try { inputStream = file.openInputStream(); reflections.merge(serializer.read(inputStream)); } catch (IOException e) { throw new ReflectionsException("could not merge " + file , e);