Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3712

Show
Ignore:
Timestamp:
07/05/08 10:52:12 (2 months ago)
Author:
kris
Message:

deprecated in favor of MapStream?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/text/Properties.d

    r3702 r3712  
    88 
    99        author:         Kris 
     10 
     11        deprecated:     Please use tango.io.stream.MapStream instead 
    1012 
    1113*******************************************************************************/ 
     
    5355        ***********************************************************************/ 
    5456 
    55         static void load (char[] path, void delegate (T[] name, T[] value) dg) 
     57        deprecated static void load (char[] path, void delegate (T[] name, T[] value) dg) 
    5658        { 
    5759                auto fc = new FileConduit (path); 
     
    8183        ***********************************************************************/ 
    8284 
    83         static void load (InputStream stream, void delegate (T[] name, T[] value) dg) 
     85        deprecated static void load (InputStream stream, void delegate (T[] name, T[] value) dg) 
    8486        { 
    8587                foreach (line; new LineIterator!(T) (stream)) 
     
    119121        ***********************************************************************/ 
    120122 
    121         static void save (char[] path, T[][T[]] properties) 
     123        deprecated static void save (char[] path, T[][T[]] properties) 
    122124        { 
    123125                auto fc = new FileConduit (path, FileConduit.WriteCreate); 
     
    133135        ***********************************************************************/ 
    134136 
    135         static void save (OutputStream stream, T[][T[]] properties) 
     137        deprecated static void save (OutputStream stream, T[][T[]] properties) 
    136138        { 
    137139               const T[] equals = " = ";