"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
ajay mittal wrote:Reading the contents of the entire file all at once can be achieved through -
Path file = ...;
byte[] fileArray;
fileArray = Files.readAllBytes(file);
Joanne
Campbell Ritchie wrote:And welcome to the Ranch
Markz Demetrez wrote:Scanner would be a great idea.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Stu Thompson wrote:it seems like overkill to have some sort of loop reading in the file...
How do I just place the entire file's contents into a String in one statement? It must be possible, yes?
Jeff Verdegan wrote:
It's not. Not at all. Why do you think it is?Stu Thompson wrote:it seems like overkill to have some sort of loop reading in the file...
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Winston Gutkowski wrote:
Jeff Verdegan wrote:
It's not. Not at all. Why do you think it is?Stu Thompson wrote:it seems like overkill to have some sort of loop reading in the file...
Seems to be the week for reviving old threads. Don't worry, I was guilty the other day.
Winston