Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFile Class
Properties Methods


In This Topic
    NFile Class Members
    In This Topic

    The following tables list the members exposed by NFile.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the extension of this file without the dot, for example: "txt", "rtf", "docx", etc. If the given file name does not have an extension, String.Empty is returned.  
    Public PropertyGets the file system associated with this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public PropertyReturns only the name of the file system object, without the path information. For example if the path is "C:\Documents\MyFile.txt", this method returns "MyFile.txt". To get the full path to this file system object, use the Path property. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public PropertyGets the name of this file without the extension.  
    Public PropertyGets the full path of this file system object, in the FileSystem path notation (Windows or Unix). (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public PropertyGets the file URI of this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Top
    Protected Properties
     NameDescription
    Internal Property (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Top
    Public Methods
     NameDescription
    Public MethodCopies this file to the specified destination.  
    Public MethodCreates a file for both reading and writing. If the file already exists it is overwritten.  
    Public MethodOverridden. Creates an identical copy of this object.  
    Public MethodDeletes this object. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodChecks whether the given object is equal to this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodChecks whether the file system object exists. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodGets the attributes of this file or directory. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodGets the hash for this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodGets the size of the file in bytes.  
    Public MethodGets the folder that contains this object (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodGets the specifies file system object time stamp. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodMoves this file to the specified destination  
    Public MethodOpens an existing file or creates a new file for both reading and writing.  
    Public MethodOpens the file for reading.  
    Public MethodOpens an existing file or creates a new file for writing.  
    Public MethodOpens the file for reading, reads it and returns its byte content.  
    Public MethodOverloaded. Opens the file for reading, and reads the contents of this file as a string using UTF-8 text encoding.  
    Public MethodReads the given number of bytes from this file or the whole file if it is smaller than the given number of bytes.  
    Public MethodSets the attributes of this file or directory. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodSets the specifies file system object time stamp. (Inherited from Nevron.Nov.IO.NFileSystemObject)
    Public MethodWrites the given byte array to the file. If the file exists, it is overwritten.  
    Public MethodOverloaded. Writes the given text to the file using the UTF-8 encoding. No byte order mark (BOM) is written.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Called when the URI of this file system object has changed.  
    Top
    See Also