Lasso Soft Inc. > Home

Name Summary Category
file [file] creates an object that Lasso can use to interact with a file in the filesystem. You can create an empty file object and specify the path later, or you can call the creator method... File
file->oncreate The [file->oncreate] method is a special method that creates the [file] creator methods. For creating [file] objects, see the full description in the [file] creator methods documentation. File
file->asString The [file->asString] method returns a string representation of the [file] object. If you haven't actually done anything but initialize a [file] object, all you will see is 'File: ',... File
file->ENCODING The [file->encoding] method returns the character encoding for the file represented by the [file] object. File
file->doWithClose The [file->doWithClose] method takes a block of code and executes it and it makes sure that the [file] object the method is called on closes the file. The file will be closed if there is an error... File
file->fd The [file->fd] method returns the file descriptor for the current [file] object if one exists, otherwise it returns null. A file descriptor will exist once the file has been opened and is of the... File
file->open Opens a new connection to a file. Requires the name and path to a file as a parameter. Optional parameters may include an open mode and read mode, as in the [File] method. The open mode and read mode... File
file->close The [file->close] method closes the connection to a file that has been opened by a [file] object. This method should be called whenever a file operation is finished. File
file->exists The [file->exists] method checks to see if the path set for the [file] object exists and returns true if it does and false if it doesn't. File
file->modificationTime The [file->modificationTime] method returns the date and time when the file was last modified. File
file->lastAccessTime The [file->lastAccessTime] method returns the date and time when the file was last opened. File
file->modificationDate The [file->modificationDate] method returns the date and time when the file was last modified as a Lasso [date] type. File
file->lastAccessDate The [file->lastAccessDate] method returns the date and time when the file was last opened as a Lasso [date] type. File
file->delete The [file->delete] method deletes the file located at the current [file] object's path. File
file->moveTo Moves the file to the new path. Requires a path on the local server as a parameter. File
file->copyTo The [file->copyTo] method copies the file referred to in the path of the [file] object to the new path specified by the first parameter. The method can take an optional second parameter which is a... File
file->linkTo The [file->linkTo] method creates a link to the file referred to in the path of the [file] object to the new path specified by the first parameter. The method can take an... File
file->chmod [file->chmod] changes the unix file permissions of a file. The permissions may be expressed in either octal or decimal notation. File
file->name Returns the name of the file as it exists on the operating system. File
file->isOpen The [file->isOpen] method returns true if the [file] object has an open connection to a file, otherwise it returns false. File
file->marker The [file->marker] method returns the location of the current marker within the file. The marker determines where in the file data will be written or read and can be set using... File
file->get The [file->get] method returns either a single character or line depending on the [file] object's read mode. It always returns the next character or line from the current file position, which... File
file->forEachLine The [file->forEachLine] method takes a block of code that will be executed for each line in the file the [file] object refers to. Inside the block you can access the current... File
file->forEach The [file->forEach] method takes a block of code that will be executed for each character or line in the file the [file] object refers to depending on which the get mode is set to. Inside the... File
file->lock No description available. File
Showing 801 - 825 of 2,580

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft