Class TokenFilter.ChainableReaderFilter

    • Constructor Detail

      • ChainableReaderFilter

        public ChainableReaderFilter()
    • Method Detail

      • setByLine

        public void setByLine​(boolean byLine)
        set whether to use filetokenizer or line tokenizer
        Parameters:
        byLine - if true use a linetokenizer (default) otherwise use a filetokenizer
      • chain

        public java.io.Reader chain​(java.io.Reader reader)
        Chain a tokenfilter reader to a reader,
        Specified by:
        chain in interface ChainableReader
        Parameters:
        reader - the input reader object
        Returns:
        the chained reader object