public void setProp(String value,String name,String path)throws IOException{//写入属性文件
Properties pro=new Properties();
pro.setProperty(value,name);
try{
FileOutputStream fos=new FileOutputStream(path);
pro.store(fos,"style pro");
}
catch(IOException e){
e.printStackTrace();
}
}
Properties pro=new Properties();
pro.setProperty(value,name);
try{
FileOutputStream fos=new FileOutputStream(path);
pro.store(fos,"style pro");
}
catch(IOException e){
e.printStackTrace();
}
}