protected OutputStream outputStream(final String name) throws java.io.IOException { File f = getFile(name); if (!f.exists()) { f.getParentFile().mkdirs(); } OutputStream retVal = new BufferedOutputStream(new FileOutputStream(f)); // workaround for #42624 if (Utilities.isMac()) { retVal = getOutputStreamForMac42624(retVal, name); } return retVal; }
protected OutputStream outputStream (final String name) throws java.io.IOException { OutputStream retVal = new FileOutputStream (getFile (name)); // workaround for #42624 if ((Utilities.getOperatingSystem () & Utilities.OS_MAC) != 0) { retVal = getOutputStreamForMac42624(retVal, name); } return retVal; }
protected OutputStream outputStream (final String name) throws java.io.IOException { OutputStream retVal = new FileOutputStream (getFile (name)); // workaround for #42624 if ((Utilities.getOperatingSystem () & Utilities.OS_MAC) != 0) { retVal = getOutputStreamForMac42624(retVal, name); } return retVal; }