THE PACKAGE JAVA.IO
java.io.File
22.24
22.24.21
public long lastModified() throws SecurityException
First, if there is a security manager, its
checkRead
 method ( 20.17.19) is called
with the path represented by this
File
 object as its argument.
An abstract modification time is returned. If two values returned by this
method are compared, whether for the same file or for two different files, the
smaller value represents an earlier modification time. Abstract modification times
do not necessarily bear any relationship, even monotonicity, to times returned by
the method
System.currentTimeMillis
 ( 20.18.6).
22.24.22
public long length() throws SecurityException
First, if there is a security manager, its
checkRead
 method ( 20.17.19) is called
with the path represented by this
File
 object as its argument.
The length of the file, measured in bytes, is returned.
22.24.23
public boolean mkdir() throws SecurityException
First, if there is a security manager, its
checkWrite
 method ( 20.17.21) is called
with the path represented by this
File
 object as its argument.
An attempt is made to create the directory specified by the path represented by
this
File
 object; the result is true if and only if the creation operation succeeds.
22.24.24
public boolean mkdirs() throws SecurityException
First, if there is a security manager, its
checkRead
 method ( 20.17.19) is called
with the path represented by this
File
 object as its argument.
If the directory name represented by this
File
 object has a parent directory
name ( 22.24.14), an attempt is first made to create the parent directory; if this
attempt fails, the result is
false
. Otherwise, once the parent directory has been
determined to exist, or if the path has no parent, an attempt is made to create the
directory specified by this
File
 object. The result is
true
 if and only if the cre 
ation operation succeeds.
22.24.25
public String[] list() throws SecurityException
First, if there is a security manager, its
checkRead
 method ( 20.17.19) is called
with the path represented by this
File
 object as its argument.
757






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved