glib-2.0 Reference Manual

Synopsis

public class FileUtils {
    public    static bool               get_contents              ( string              filename,
                                                                    string              contents,
                                                                    ulong               length = null ) 
                                                             throws FileError;
    public    static bool               set_contents              ( string              filename,
                                                                    string              contents,
                                                                    long                length ) 
                                                             throws FileError;
    public    static bool               test                      ( string              filename,
                                                                    FileTest            test ) ;
    public    static int                open_tmp                  ( string              tmpl,
                                                                    string              name_used ) 
                                                             throws FileError;
    public    static string             read_link                 ( string              filename ) 
                                                             throws FileError;
    public    static int                mkstemp                   ( string              tmpl ) ;
    public    static int                rename                    ( string              oldfilename,
                                                                    string              newfilename ) ;
    public    static int                unlink                    ( string              filename ) ;
    public    static int                chmod                     ( string              filename,
                                                                    int                 mode ) ;
    public    static int                symlink                   ( string              oldpath,
                                                                    string              newpath ) ;
}

FileUtils Description

Details

Constructor Details

Field Details

Signal Details

Property Details

Method Details

get_contents ()
    public    static bool               get_contents              ( string              filename,
                                                                    string              contents,
                                                                    ulong               length = null ) 
                                                             throws FileError;		

set_contents ()
    public    static bool               set_contents              ( string              filename,
                                                                    string              contents,
                                                                    long                length ) 
                                                             throws FileError;		

test ()
    public    static bool               test                      ( string              filename,
                                                                    FileTest            test ) ;		

open_tmp ()
    public    static int                open_tmp                  ( string              tmpl,
                                                                    string              name_used ) 
                                                             throws FileError;		

read_link ()
    public    static string             read_link                 ( string              filename ) 
                                                             throws FileError;		

mkstemp ()
    public    static int                mkstemp                   ( string              tmpl ) ;		

rename ()
    public    static int                rename                    ( string              oldfilename,
                                                                    string              newfilename ) ;		

unlink ()
    public    static int                unlink                    ( string              filename ) ;		

chmod ()
    public    static int                chmod                     ( string              filename,
                                                                    int                 mode ) ;		

symlink ()
    public    static int                symlink                   ( string              oldpath,
                                                                    string              newpath ) ;		


Created by Valadoc