Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Sri Jad

Ranch Hand
+ Follow
since Apr 25, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sri Jad

import java.util.regex.Pattern;
public class UtilsTest {
public static void main(String[] args) {
UtilsTest ut = new UtilsTest();
ut.isNumber("123456");
ut.isNumber("12test");
ut.isNumber("testit");
ut.isNumber("test12");
}
private void isNumber(String value) {
if (((Pattern.compile("(\\d+?)").matcher(value).matches()))) {
System.out.println("true:");
} else {
System.out.println("false:");
}
}
}
15 years ago
This code works and gives following results

true:
false:
false:
false:




private void isNumber(String value) {
if (((Pattern.compile("(\\d+?)").matcher(value).matches()))) {
System.out.println("true:");
} else {
System.out.println("false:");
}
}
}
15 years ago
Even the following code giving me "Wrong input"


15 years ago
Even the following code giving me "Wrong input"


15 years ago
Hi Remko and other ranchers,

I have the same requirement and i tried the following code , but still Its givig me "Wrong input" , any suggestion is very much appreciable.Thanks In Advance.

15 years ago
Solved..problem is that the file is corrupted
16 years ago
Hi There,

I have the following code.


Its printing Yes(that means file exists ) and Available..0(that means number of bytes that can be read from this file input stream ).How is this possible?? Is FileInputStream not working properly??? Some one please suggest me if I am missing some thing..

Thanks In Advance

Sri
16 years ago
Hi There,

I have a PDF file and i have a BLOB Column in the oracle 9i database.I need to insert that PDF file into the database.Can some one suggest me how to do that.Any help is much appreciable

Thanks In Advance

Sri
16 years ago
In US (for people on H1 wking for Desi COmpanies) , employee takes home around 40% of what the client spends.remaining money is taken by Middle Men , Taxes etc..I some cases it may be even less.
16 years ago
Thanks Guys for your response.
16 years ago
Thanks Guys for your response.
16 years ago
around 100 days..Me experiances first time it took 108 days , second time 70-80 days.
16 years ago
Hi there,

Just wanted know how much time it takes for PERM Labour Approval and your experiances in that process..

My company filed for Labour 8 months back and i am still waiting...

Sri
16 years ago

$60,000 per year



Are u kidding??? I guess it depends on the location...Salary May range from $80K - $100K
16 years ago
Go for both!!!just my two cents
16 years ago