1 2 20 package org.webdocwf.util.i18njdbc; 21 22 import java.io.File ; 23 import java.io.FileOutputStream ; 24 import java.util.Properties ; 25 26 31 32 33 public class I18nProperties extends Properties { 34 35 36 40 public void store(File filePath) throws Exception { 41 try { 42 super.store(new FileOutputStream (filePath),""); 43 } catch (Exception e) { 44 throw new Exception ("Error while write to property file!"); 45 } 46 47 48 } 49 50 } 51 | Popular Tags |