commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Garacci <jgara...@gmail.com>
Subject Grep file utility
Date Fri, 05 Aug 2005 18:29:40 GMT
I was looking for a file utility to perform a grep action and get the
results as a List.

e.g.   List matches = SomeUtility.grep(new File("my.log"), ".*ERROR.*");

Is there anything like this implemented in one of the commons projects?

Thanks,

-Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message