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)
merges saved Reflections resources from the given file, using the serializer configured in this instance's Configuration
|
Reflections |
Reflections.collect(InputStream inputStream)
merges saved Reflections resources from the given input stream, using the serializer configured in this instance's Configuration
useful if you know the serialized resource location and prefer not to look it up the classpath |
static Reflections |
Reflections.collect(String packagePrefix,
com.google.common.base.Predicate<String> resourceNameFilter,
Serializer... optionalSerializer)
collect saved Reflections resources from all urls that contains the given packagePrefix and matches the given resourceNameFilter
and de-serializes them using the default serializer
XmlSerializer or using the optionally supplied optionalSerializer |
Reflections |
Reflections.merge(Reflections reflections)
merges a Reflections instance metadata into this instance
|
Modifier and Type | Method and Description |
---|---|
Reflections |
Reflections.merge(Reflections reflections)
merges a Reflections instance metadata into this instance
|
Modifier and Type | Method and Description |
---|---|
Reflections |
JavaCodeSerializer.read(InputStream inputStream) |
Reflections |
JsonSerializer.read(InputStream inputStream) |
Reflections |
Serializer.read(InputStream inputStream)
reads the input stream into a new Reflections instance, populating it's store
|
Reflections |
XmlSerializer.read(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
File |
JavaCodeSerializer.save(Reflections reflections,
String name)
name should be in the pattern: path/path/path/package.package.classname,
for example
|
File |
JsonSerializer.save(Reflections reflections,
String filename) |
File |
Serializer.save(Reflections reflections,
String filename)
saves a Reflections instance into the given filename
|
File |
XmlSerializer.save(Reflections reflections,
String filename) |
String |
JavaCodeSerializer.toString(Reflections reflections) |
String |
JsonSerializer.toString(Reflections reflections) |
String |
Serializer.toString(Reflections reflections)
returns a string serialization of the given Reflections instance
|
String |
XmlSerializer.toString(Reflections reflections) |
Copyright © 2024. All rights reserved.