question: public static void saveAsGnuStepASCII ( NSArray root , File out ) throws IOException { File parent = out . getParentFile ( ) ; if ( ! parent . exists ( ) ) if ( ! parent . mkdirs ( ) ) throw new IOException ( "The output directory does not exist and could not be created." ) ; OutputStreamWriter w = new OutputStreamWriter ( new FileOutputStream ( out ) , "ASCII" ) ; w . write ( root . toGnuStepASCIIPropertyList ( ) ) ; w . close ( ) ; }
target:  Saves a property list with the given object as root into a ASCII file.