Changeset 213:36f5cb12e1a2 for dwt/internal/Compatibility.d
- Timestamp:
- 05/17/08 11:34:28 (8 months ago)
- Files:
-
- dwt/internal/Compatibility.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/internal/Compatibility.d
r212 r213 15 15 /+ 16 16 import java.io.*; 17 import java.io.File; 17 18 import java.text.MessageFormat; 18 19 import java.util.MissingResourceException; 19 20 import java.util.ResourceBundle; 21 import java.util.zip.DeflaterOutputStream; 20 22 import java.util.zip.InflaterInputStream; 21 23 +/ … … 30 32 import tango.sys.Process; 31 33 import dwt.dwthelper.utils; 34 import tango.io.Path; 32 35 33 36 /** … … 110 113 111 114 /** 115 * Answers whether the indicated file exists or not. 116 * 117 * @param parent the file's parent directory 118 * @param child the file's name 119 * @return true if the file exists 120 */ 121 public static bool fileExists(String parent, String child) { 122 return FS.exists( FS.join(parent, child)); 123 } 124 125 /** 112 126 * Answers the most positive (i.e. closest to positive infinity) 113 127 * integer value which is less than the number obtained by dividing … … 156 170 } 157 171 return 1; 172 } 173 174 /** 175 * Create an DeflaterOutputStream if such things are supported. 176 * 177 * @param stream the output stream 178 * @return a deflater stream or <code>null</code> 179 * @exception IOException 180 * 181 * @since 3.4 182 */ 183 public static OutputStream newDeflaterOutputStream(OutputStream stream) { 184 //DWT_TODO 185 implMissing(__FILE__,__LINE__); 186 return null; 187 //return new DeflaterOutputStream(stream); 158 188 } 159 189
