@mozilla.org/filespec;1

This component implements the following interfaces:

Properties

readonly PRInt64 nsIFileSpec.diskSpaceAvailable

char* nsIFileSpec.fileContents

readonly PRUint32 nsIFileSpec.fileSize

[noscript] readonly nsFileSpec nsIFileSpec.fileSpec

readonly nsIInputStream nsIFileSpec.inputStream

char* nsIFileSpec.leafName

readonly PRUint32 nsIFileSpec.modDate

char* nsIFileSpec.nativePath

readonly char* nsIFileSpec.NSPRPath

readonly nsIOutputStream nsIFileSpec.outputStream

readonly nsIFileSpec nsIFileSpec.parent

char* nsIFileSpec.persistentDescriptorString

AString nsIFileSpec.unicodePath

char* nsIFileSpec.unixStyleFilePath

char* nsIFileSpec.URLString

Methods

InterfaceMethod
nsIFileSpec void appendRelativeUnixPath ( char* relativePath )
nsIFileSpec void closeStream ( )
nsIFileSpec void copyToDir ( nsIFileSpec newParentDir )
nsIFileSpec void createDir ( )
nsIFileSpec void delete ( PRBool recursive )
nsIFileSpec void endLine ( )
nsIFileSpec PRBool eof ( )
nsIFileSpec PRBool equals ( nsIFileSpec spec )
nsIFileSpec void error ( )
nsIFileSpec void execute ( char* args )
nsIFileSpec PRBool exists ( )
nsIFileSpec PRBool failed ( )
nsIFileSpec void flush ( )
nsIFileSpec void fromFileSpec ( nsIFileSpec original )
nsIFileSpec PRBool isChildOf ( nsIFileSpec possibleParent )
nsIFileSpec PRBool isDirectory ( )
nsIFileSpec PRBool isFile ( )
nsIFileSpec PRBool isHidden ( )
nsIFileSpec PRBool isStreamOpen ( )
nsIFileSpec PRBool isSymlink ( )
nsIFileSpec PRBool isValid ( )
nsIFileSpec void makeUnique ( )
nsIFileSpec void makeUniqueWithSuggestedName ( char* suggestedName )
nsIFileSpec PRBool modDateChanged ( PRUint32 oldStamp )
nsIFileSpec void moveToDir ( nsIFileSpec newParentDir )
nsIFileSpec void openStreamForReading ( )
nsIFileSpec void openStreamForReadingAndWriting ( )
nsIFileSpec void openStreamForWriting ( )
nsIFileSpec PRInt32 read ( inout char* buffer , PRInt32 requestedCount )
nsIFileSpec void readLine ( inout char* line , PRInt32 bufferSize , out PRBool wasTruncated )
nsIFileSpec void rename ( char* newLeafName )
nsIFileSpec void resolveSymlink ( )
nsIFileSpec void seek ( PRInt32 offset )
nsIFileSpec [noscript] void setFromFileSpec ( nsFileSpecRef spec )
nsIFileSpec PRInt32 tell ( )
nsIFileSpec void touch ( )
nsIFileSpec void truncate ( PRInt32 newLength )
nsIFileSpec PRInt32 write ( char* data , PRInt32 requestedCount )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com