Servertec   File
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Sales
Legal
Feedback

 

Operates on a file objects.

Method Description
canRead( ) Returns whether the specified file object can be read.
canWrite( ) Returns whether the specified file object can be written to.
delete( ) Deletes the specified file object and returns whether the file was successfully 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 specified 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 successfully 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
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999