Class FullClassNameMatcher
- java.lang.Object
-
- org.apache.commons.io.serialization.FullClassNameMatcher
-
- All Implemented Interfaces:
ClassNameMatcher
final class FullClassNameMatcher extends java.lang.Object implements ClassNameMatcher
AClassNameMatcherthat 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 booleanmatches(java.lang.String className)Returnstrueif the supplied class name matches this object's condition.
-
-
-
Method Detail
-
matches
public boolean matches(java.lang.String className)
Description copied from interface:ClassNameMatcherReturnstrueif the supplied class name matches this object's condition.- Specified by:
matchesin interfaceClassNameMatcher- Parameters:
className- fully qualified class name- Returns:
trueif the class name matches this object's condition
-
-