Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~5K People Reached
Favorite Tags

7 Posted Topics

Member Avatar for BinodSuman

There are many ways to read properties file in java. Here explained two wayS, using 1. ResourceBundle 2. Properties Class How to use this tutorial 1. Create one directory src and put both below files (MyProp.properties and ReadPropFile.java) 2. MyProp.properties name = Binod Kumar Suman roll = 110 city = …

Member Avatar for softswing
0
520
Member Avatar for bokz06

These below code you can use for readin text file from URL. [code]String charset = "utf-8"; URL url = new URL(your text file URL); URLConnection conn = url.openConnection(); conn.setDoOutput(true); InputStream inputStream = null; inputStream = url.openStream(); StringBuffer s = new StringBuffer(); if(charset==null"".equals(charset)){ charset="utf-8"; } String rLine = null; BufferedReader bReader …

Member Avatar for HoRn
0
187
Member Avatar for serkan sendur

Hi, I wrote one easy example how to parse XML file data in dynamically growing HTML table. [url]http://binodsuman.blogspot.com/2009/05/parse-xml-file-in-javascript-part-2.html[/url] Thanks, Binod Suman [url]http://binodsuman.blogspot.com[/url]

Member Avatar for BinodSuman
0
4K
Member Avatar for daniel_ahuk

You can also compare two images using imagemagick tools. It is very simple. compare -metric AE 5001.MAIN.jpg 5002.MAIN.jpg difference.jpg if it returns value 0 means both images are same. [URL="http://binodjava.blogspot.com/2009/06/how-to-compare-two-images-check-two.html"]This[/URL] post might help you. Thanks, Binod Suman

Member Avatar for BinodSuman
0
208
Member Avatar for BinodSuman

I was searching a solution to get height and widht of an image using javascript. I got many but all those solution only worked when image present in browser cache. Finally I got one solution to get image height and width even image does not exist in browser cache. Just …

0
58
Member Avatar for antobx

You can use this code to validate any xml file againt xsd file. [code=java] public boolean validate() throws Exception { VerifierFactory factory = new com.sun.msv.verifier.jarv.TheFactoryImpl(); Schema schema = factory.compileSchema(schemaURI); Verifier verifier = schema.newVerifier(); verifier.setErrorHandler(new ErrorHandler() { public void error(SAXParseException saxParseEx) { System.out.println("ERROR :: "); saxParseEx.printStackTrace(); } public void fatalError(SAXParseException saxParseEx) …

Member Avatar for kvprajapati
0
459
Member Avatar for luiso

There is very easy java code to tranform XML data to PDF. SNIP Thanks, Binod Suman SNIP

Member Avatar for BinodSuman
0
60

The End.