Class UCPFilter.UCPCharsetFilter

  • Enclosing class:
    UCPFilter

    private static final class UCPFilter.UCPCharsetFilter
    extends UCPFilter
    A filter for Unicode characters that can be encoded by a specific charset.
    • 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: UCPFilter
        Checks whether the given Unicode code point is acceptable to the receiver.
        Specified by:
        isAcceptable in class UCPFilter
        Parameters:
        ucp - The code point.
        Returns:
        True if so.