Package org.reflections
Class Store
- java.lang.Object
-
- org.reflections.Store
-
public class Store extends Object
stores metadata information in multimapsuse the different query methods (getXXX) to query the metadata
the query methods are string based, and does not cause the class loader to define the types
use
Reflections.getStore()
to access this store
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Store()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
get(Class<?> scannerClass, String key)
get the values stored for the givenindex
andkeys
Set<String>
get(Class<?> scannerClass, Collection<String> keys)
get the values stored for the givenindex
andkeys
Set<String>
get(String index, String key)
get the values stored for the givenindex
andkeys
Set<String>
getAll(Class<?> scannerClass, String key)
recursively get the values stored for the givenindex
andkeys
, not including keysSet<String>
getAll(Class<?> scannerClass, Collection<String> keys)
recursively get the values stored for the givenindex
andkeys
, not including keysSet<String>
getAllIncluding(Class<?> scannerClass, Collection<String> keys)
recursively get the values stored for the givenindex
andkeys
, including keysSet<String>
keys(String index)
Set<String>
keySet()
return all indicesboolean
put(Class<?> scannerClass, String key, String value)
boolean
put(String index, String key, String value)
Set<String>
values(String index)
-
-
-
Method Detail
-
get
public Set<String> get(Class<?> scannerClass, String key)
get the values stored for the givenindex
andkeys
-
get
public Set<String> get(String index, String key)
get the values stored for the givenindex
andkeys
-
get
public Set<String> get(Class<?> scannerClass, Collection<String> keys)
get the values stored for the givenindex
andkeys
-
getAllIncluding
public Set<String> getAllIncluding(Class<?> scannerClass, Collection<String> keys)
recursively get the values stored for the givenindex
andkeys
, including keys
-
getAll
public Set<String> getAll(Class<?> scannerClass, String key)
recursively get the values stored for the givenindex
andkeys
, not including keys
-
getAll
public Set<String> getAll(Class<?> scannerClass, Collection<String> keys)
recursively get the values stored for the givenindex
andkeys
, not including keys
-
-