Petrus Pelser

Ranch Hand
+ Follow
since Feb 20, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Petrus Pelser

You can also try Apache Ivy. You can use it with Ant or stand-alone.
16 years ago

vellan vaz wrote:
Can any one give me the code to search a string in a log file.



No.

But we will help if you show some initiative.
16 years ago
You can use either SAX or DOM.
17 years ago
An instanceof check may fix the problem.

The compiler complains because, in your example, it is possible for 'this' to be either a subclass (down-casting) of 'T' or any other unrelated class which also extends AbstractBuilder.
17 years ago
It is usually used in event listeners and asynchronous method calls. You basically have an object register with another object to tell it to do something and let the first object know when it is done by calling a method on the first object (usually implemented from an interface).
17 years ago
"The Human Compiler" - This is a very good skill to have which can save you endless amounts of time in the future. The best way to develop this skill is to close your IDE and start writing code in a text-editor. At least when you are starting off or learning a new language.
17 years ago
Check out the Scanner class in the Java API.
17 years ago
If you are looking into going into Java EE development, then your are probably going to have to learn all three. Also have a look at hibernate.
17 years ago
If you need the index, just use the old for loop.
17 years ago
JExcelApi

You could also create CSV files which are readable in Excel. But I would rather stay away from Excel (read: EVIL) and go for OpenOffice.
If you find yourself implementing just one method in an interface that specifies several then you should think of creating an adapter for the interface. A lot of empty implemented methods makes your code ugly and difficult to read.
17 years ago
That all depends on what you want to do.

Enterprise applications -> Java
Web development -> PHP, Ruby on Rails
Desktop applications -> All depends on the platform.

If you are looking to start out, I would recommend you look at a career website and see which skills are required.
17 years ago
Have a look at the Scanner class.
17 years ago
Hi all

Anybody know if it is possible two run two different instances of IntelliJ IDEA. At the moment I am running two different projects in two different windows, but when one's compiling, the second one becomes unusable through a modal popup or incredibly slow when compiling in the background.

I would like to be able to run two different instances without one affecting the other. Or maybe I should use two different IDE's?
Have you checked if maybe the class contains a static method for retrieving an instance? Something like getInstance(), or getInboundMessage(), etc.
17 years ago