Do not exclude only sequence files; they allow you to quickly and easily map MapReduce jobs, and you can use "hasoop fs -text filename" to output them in text format if you need it for other things.
But back to the original question: to use TextInputFormat, set it as the input format in the task, and then use TextInputFormat.setInputPathsit to indicate which files it should use as input. The key to your mapper should be LongWritable, and the value should be text.
TextOutputFormat , , TextOuputFormat.setOutputPath . ( , ) NullWritable , , , ( , "mapred.textoutputformat.separator" ).