Servertec | File
M E N U Content Introduction Release Notes Requirements Installation Change Log Future Plans Knowledge Base Referance Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Cookie Date Error File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Server Side Preprocessor Executable Make Samples Legal Feedback | Operates on a file objects.
Method | Description
canRead( ) | Returns whether the specified file object can be read.
canWrite( ) | Returns wheather the specified file object can be written to.
delete( ) | Deletes the specified file object and returns whether the file was sucessfully deleted.
equals( ) | Returns whether the specified file objects refer to the same file.
exists( ) | Returns whether the specified file object refers to an existing file.
File( ) | Returns a file object for the specified file name.
getAbsolutePath( ) | Returns the absolute path of the file represented by the specified file object.
getCanonicalPath( ) | Returns the canonical path of the file represented by the specified file object.
getName( ) | Returns the file name represented by the specified file object.
getParent( ) | Returns the parent part of the pathname of the file represented in the specified file object.
getPath( ) | Returns the pathname of the file represented in the specfied file object.
hashCode( ) | Returns the hash code of the specified file object.
isAbsolute( ) | Returns whether the file object represents an absolute pathname.
isDirectory( ) | Returns whether the file object represents a directory.
isFile( ) | Returns whether the file object represents a file.
lastModified( ) | Returns the time when the file represented by the specified file object was last modified.
length( ) | Returns the length of the file represented by the specified file object.
list( ) | Returns an array object containing a list of the files for the given filename filter in the directory represented by the specified file object.
mkDir( ) | Creates the directory represented by the specified file object and return whether the directory was successfully created.
mkDirs( ) | Creates necessary parent directories and directory represented by the file object and return whether the directory and its parent directories where sucessfully created.
pathSeparator( ) | Returns the path separator for the specified file object.
renameTo( ) | Rename the file represented by the given file object to the file represented by another file object.
separator( ) | Returns the path separator the the specified file object.
toString( ) | Returns a string with the pathname of the specified file object.
top of page
| Copyright © 1997-1998 Servertec. All rights reserved. Last Modified: Wed Apr 15 00:16:38 EDT 1998