public void save(OutputStream out, String comments) { delegate.save(out, comments); }
@Override @Deprecated public synchronized void save( OutputStream out, String comments ) { super.putAll( storageMap ); super.save( out, comments ); super.clear(); }
public void save(OutputStream out, String header) { getDelegate().save(out, header); }
/** * Currently will write out defaults as well, which is not * in the specification. */ public void save(OutputStream outstrm, String header) { super.save(outstrm,header); } /**
/** * Currently will write out defaults as well, which is not * in the specification. */ public void save(OutputStream outstrm, String header) { super.save(outstrm,header); } /**
@SuppressWarnings("deprecation") @Override public synchronized void save(OutputStream out, String comments) { properties.save(out, comments); }
/** @deprecated */ public void save(OutputStream out, String comments) { p.save(out, comments); }
/** @deprecated */ public void save(OutputStream out, String comments) { p.save(out, comments); }
/** @deprecated */ public void save(OutputStream out, String comments) { p.save(out, comments); }
public synchronized void save(OutputStream out, String comments) { parent.save(out, comments); }
/** * {@inheritDoc} * * @deprecated */ @Deprecated @Override public void save( OutputStream out, String comments ) { this.delegate.save(out, comments); }
/** * @see java.util.Properties#save(java.io.OutputStream, java.lang.String) */ @Override @Deprecated public synchronized void save(OutputStream out, String comments) { properties.save(out, comments); }
/** * @see java.util.Properties#save(java.io.OutputStream, java.lang.String) */ @Override @Deprecated public synchronized void save(OutputStream out, String comments) { properties.save(out, comments); }
Properties properties = ... ; //initialize with the file String key = "msgAlreadyDisplayed"; if (properties.getProperty(key) == null) { //display the message properties.getProperty(key, "true"); properties.save(....); //save to the file }
final File propsFile = new File("someDir/Example.properties"); Properties props = new Properties(); props.load(new FileInputStream(propsFile)); // make changes props.save(new FileOutputStream(propsFile), "");
@Override @Deprecated public void save(OutputStream out, String comments) { getThreadProperties().save(out, comments); }
public void save(OutputStream out, String header) { getDelegate().save(out, header); }
public void save(OutputStream out, String header) { getDelegate().save(out, header); }
public void save(OutputStream out, String comments) { resolve().save(out, comments); }
public static void savePreferences() throws IOException { FileOutputStream fos= new FileOutputStream(getPreferencesFile()); try { // calling of the deprecated save method to enable compiling under 1.1.7 getPreferences().save(fos, ""); } finally { fos.close(); } }