Java Concept

This blog will really helpful to summarize the few Java Related Concept and them real time needs.

Friday, July 23, 2010

Writing Java Property Object To File

Properties prop = new Properties();
prop.setProperty("moin","master");
prop.setProperty("Ajija","Moin Master");



FileOutputStream fos = new FileOutputStream(fileName);
prop.store(fos, null);
fos.close();


line prop.store(fos, null); will help you to store java property object to file stream
Posted by Master Moin at Friday, July 23, 2010
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
View mobile version
Subscribe to: Post Comments (Atom)

Search This Blog

Blog Archive

  • ▼  2010 (15)
    • ▼  July (15)
      • Reading MS Word Document With Java (Apache POI API)
      • Reading System Environment With JAVA
      • Append Property To System Properties With JAVA
      • Reading System Properties With JAVA
      • Reading XML File With Java
      • Writing Excel File With Java (Apache POI API)
      • Reading Excel File With Java (Apache POI API)
      • Java String Pattern Matching And Getting Group Of ...
      • Java Connection Pooling With Data Sources
      • Java Operation Performing As Per Schedule Interval
      • Writing Java Property Object To File
      • Reading Property File With Java
      • Reading Java Object From Database
      • Writing Java Object To Database
      • Getting Current Inserted Record's Primary Key

Contributors [ Writer(s) ]

  • Ketan patel
  • Master Moin

Followers

www.rallyusinfosystem.com & www.quiziapt.com. Simple theme. Powered by Blogger.