@Override
        public int read() {
            return -1;
        }
Returns -1 to indicate that the stream is closed.

@return always -1
tika-core/src/test/java/org/apache/tika/sax/NonValidatingContentHandler.java