Create another class in freenet.support.io ... LineTailReadingInputStream or something ... really the Toadlets shouldn't be using anything in java.io