Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsILocalFile Interface Reference

import "nsILocalFile.idl";

Inheritance diagram for nsILocalFile:

nsIFile nsISupports

List of all members.


Detailed Description

This interface adds methods to nsIFile that are particular to a file that is accessible via the local file system.

It follows the same string conventions as nsIFile.

FROZEN

Definition at line 62 of file nsILocalFile.idl.


Public Member Functions

void append (in AString node)
void appendNative (in ACString node)
void appendRelativeNativePath (in ACString relativeFilePath)
void appendRelativePath (in AString relativeFilePath)
nsIFile clone ()
boolean contains (in nsIFile inFile, in boolean recur)
void copyTo (in nsIFile newParentDir, in AString newName)
void copyToFollowingLinks (in nsIFile newParentDir, in AString newName)
void copyToFollowingLinksNative (in nsIFile newParentDir, in ACString newName)
void CopyToNative (in nsIFile newParentDir, in ACString newName)
void create (in unsigned long type, in unsigned long permissions)
void createUnique (in unsigned long type, in unsigned long permissions)
boolean equals (in nsIFile inFile)
boolean exists ()
ACString getRelativeDescriptor (in nsILocalFile fromFile)
void initWithFile (in nsILocalFile aFile)
void initWithNativePath (in ACString filePath)
void initWithPath (in AString filePath)
boolean isDirectory ()
boolean isExecutable ()
boolean isFile ()
boolean isHidden ()
boolean isReadable ()
boolean isSpecial ()
boolean isSymlink ()
boolean isWritable ()
void launch ()
PRLibraryStar load ()
void moveTo (in nsIFile newParentDir, in AString newName)
void moveToNative (in nsIFile newParentDir, in ACString newName)
void normalize ()
FILE openANSIFileDesc (in string mode)
PRFileDescStar openNSPRFileDesc (in long flags, in long mode)
void remove (in boolean recursive)
void reveal ()
void setRelativeDescriptor (in nsILocalFile fromFile, in ACString relativeDesc)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

const unsigned long DIRECTORY_TYPE = 1
readonly attribute
nsISimpleEnumerator 
directoryEntries
readonly attribute PRInt64 diskSpaceAvailable
attribute PRInt64 fileSize
readonly attribute PRInt64 fileSizeOfLink
attribute PRBool followLinks
attribute PRInt64 lastModifiedTime
attribute PRInt64 lastModifiedTimeOfLink
attribute AString leafName
attribute ACString nativeLeafName
readonly attribute ACString nativePath
readonly attribute ACString nativeTarget
const unsigned long NORMAL_FILE_TYPE = 0
readonly attribute nsIFile parent
readonly attribute AString path
attribute unsigned long permissions
attribute unsigned long permissionsOfLink
attribute ACString persistentDescriptor
readonly attribute AString target

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index