Re: Getting file into an array of byte..
- From: Moiristo <R.delange@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 17:10:00 +0200
gbattine wrote:
String line = null;
while ((line = br.readLine()) != null) {
I would just introduce a counter:
String line = null;
int counter = 0;
while ((line = br.readLine())!=null && counter<10000){
...proces...
counter++;
}
.
- References:
- Getting file into an array of byte..
- From: gbattine
- Re: Getting file into an array of byte..
- From: Moiristo
- Re: Getting file into an array of byte..
- From: gbattine
- Re: Getting file into an array of byte..
- From: Brandon McCombs
- Re: Getting file into an array of byte..
- From: gbattine
- Re: Getting file into an array of byte..
- From: Moiristo
- Re: Getting file into an array of byte..
- From: gbattine
- Getting file into an array of byte..
- Prev by Date: Re: what's better way to store a million keys in mem?
- Next by Date: Re: Referencing the base method
- Previous by thread: Re: Getting file into an array of byte..
- Next by thread: Java reporting incorrect directory permission under Windows XP?
- Index(es):