Package com.bergerkiller.bukkit.common.config

Examples of com.bergerkiller.bukkit.common.config.TempFileOutputStream


   *
   * @param file to write to
   * @throws IOException on failure
   */
  public void writeTo(File file) throws IOException {
    TempFileOutputStream stream = new TempFileOutputStream(file);
    boolean successful = false;
    try {
      writeTo(stream);
      successful = true;
    } finally {
      stream.close(successful);
    }
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.config.TempFileOutputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.