Package org.marketcetera.util.misc
Class UCPFilter.UCPCharsetFilter
- java.lang.Object
-
- org.marketcetera.util.misc.UCPFilter
-
- org.marketcetera.util.misc.UCPFilter.UCPCharsetFilter
-
-
Constructor Summary
Constructors Constructor Description UCPCharsetFilter(Charset cs)Creates a filter for the given charset.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAcceptable(int ucp)Checks whether the given Unicode code point is acceptable to the receiver.-
Methods inherited from class org.marketcetera.util.misc.UCPFilter
forCharset, getDefaultCharset, getFileSystemCharset
-
-
-
-
Field Detail
-
mEncoder
private CharsetEncoder mEncoder
-
-
Constructor Detail
-
UCPCharsetFilter
public UCPCharsetFilter(Charset cs)
Creates a filter for the given charset.- Parameters:
cs- The charset.
-
-
Method Detail
-
isAcceptable
public boolean isAcceptable(int ucp)
Description copied from class:UCPFilterChecks whether the given Unicode code point is acceptable to the receiver.- Specified by:
isAcceptablein classUCPFilter- Parameters:
ucp- The code point.- Returns:
- True if so.
-
-