Class FullClassNameMatcher
- java.lang.Object
-
- org.apache.commons.io.serialization.FullClassNameMatcher
-
- All Implemented Interfaces:
ClassNameMatcher
final class FullClassNameMatcher extends java.lang.Object implements ClassNameMatcher
AClassNameMatcher
that matches on full class names.This object is immutable and thread-safe.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<java.lang.String>
classesSet
-
Constructor Summary
Constructors Constructor Description FullClassNameMatcher(java.lang.String... classes)
Constructs an object based on the specified class names.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.String className)
Returnstrue
if the supplied class name matches this object's condition.
-
-
-
Method Detail
-
matches
public boolean matches(java.lang.String className)
Description copied from interface:ClassNameMatcher
Returnstrue
if the supplied class name matches this object's condition.- Specified by:
matches
in interfaceClassNameMatcher
- Parameters:
className
- fully qualified class name- Returns:
true
if the class name matches this object's condition
-
-