public String getSummaryFromFile(String file, int length) throws IOException
    {
        return getSummary(new FileReader(file), length);
    }
public String getSummaryFromFile ( String file , int length ) throws IOException { return getSummary ( new FileReader ( file ) , length ) ; }
get document summary from a file

@param   file
@param   length
@return  String
@throws  IOException