| Package | Description |
|---|---|
| org.reflections | |
| org.reflections.serializers |
| Modifier and Type | Method and Description |
|---|---|
static Reflections |
Reflections.collect()
collect saved Reflection xml resources and merge it into a Reflections instance
|
Reflections |
Reflections.collect(File file,
Serializer serializer)
deserialize and merge saved Reflections metadata from the given
file and serializer |
Reflections |
Reflections.collect(InputStream inputStream,
Serializer serializer)
deserialize and merge saved Reflections metadata from the given
inputStream and serializer |
static Reflections |
Reflections.collect(String packagePrefix,
Predicate<String> resourceNameFilter)
collect saved Reflections metadata from all urls that contains the given
packagePrefix and matches the given resourceNameFilter,
and deserialize using the default serializer XmlSerializer |
static Reflections |
Reflections.collect(String packagePrefix,
Predicate<String> resourceNameFilter,
Serializer serializer)
collect saved Reflections metadata from all urls that contains the given
packagePrefix and matches the given resourceNameFilter,
and deserializes using the given serializer |
Reflections |
Reflections.merge(Reflections reflections)
merges the given
reflections instance metadata into this instance |
| Modifier and Type | Method and Description |
|---|---|
Reflections |
Reflections.merge(Reflections reflections)
merges the given
reflections instance metadata into this instance |
| Modifier and Type | Method and Description |
|---|---|
Reflections |
Serializer.read(InputStream inputStream)
reads the input stream into a new Reflections instance, populating it's store
|
Reflections |
JsonSerializer.read(InputStream inputStream) |
Reflections |
JavaCodeSerializer.read(InputStream inputStream) |
Reflections |
XmlSerializer.read(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
File |
Serializer.save(Reflections reflections,
String filename)
saves a Reflections instance into the given filename
|
File |
JsonSerializer.save(Reflections reflections,
String filename) |
File |
JavaCodeSerializer.save(Reflections reflections,
String name)
serialize and save to java source code
|
File |
XmlSerializer.save(Reflections reflections,
String filename) |
Copyright © 2021. All rights reserved.