public function setInput($data, $encoding = '')
    {
        $this->_input    = $data;
        $this->_encoding = $encoding;
        $this->reset();
    }
public function setInput($data, $encoding = '')
    {
        $this->_input    = $data;
        $this->_encoding = $encoding;
        $this->reset();
    }
public function setInput ( $ data , $ encoding = '' ) { $ this -> _input = $ data ; $ this -> _encoding = $ encoding ; $ this -> reset ( ) ; }
Tokenization stream API
Set input

@param string $data
Tokenization stream API Set input