Web Development

Parsing KML in Java using JavaApiForKml.jar

KML(Keyhole markup language) KML(Keyhole markup language) is a file format used to display geographic data in an Earth browser such as Google Earth, Google Maps, and Google Maps for mobile. KML uses a tag-based structure with nested elements and attributes and is based on the XML standard. All tags are case-sensitive and must be appear… Continue reading Parsing KML in Java using JavaApiForKml.jar

Web Development

Registry 32-bit dll file in 64-bit OS(windows7)

To registry dll file into windows 7, at first you have to open command prompt(cmd) with administrative power. To gain administrative power please follow the screen shot Registry 32-bit dll file in 32-bit OS/Registry dll file in OS: Go to c:\windows\system32 folder using Command prompt. Write regsvr32 yourdll.dll Registry 32-bit dll file in 64-bit OS:… Continue reading Registry 32-bit dll file in 64-bit OS(windows7)

Web Development

How to override hashCode() in ideal way #Java

Following steps can be followed to override java hashCode() in ideal way 1. Store some constant nonzero value, say 17, in an int variable called result 2. For each significant field f in your object (each field taken into account by the equals method, that is), do the following: a. Compute an int hash code… Continue reading How to override hashCode() in ideal way #Java