cz.ponec.ppSee.api
Class SFile

java.lang.Object
  extended byjava.io.File
      extended bycz.ponec.ppSee.api.SFile
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class SFile
extends java.io.File

A System File (a file of operating system). This is an API representation of java.io.File class. See a Java API for full review.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
SFile(java.io.File file)
          Creates a new instance of SFile
 
Method Summary
 java.util.Date getModified()
          Returns a date of the last modification.
 java.lang.String getName()
          Returns a Name of the file
 java.lang.String getPath()
          Returns a path of the file
 long length()
          Returns a size of the file.
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getParent, getParentFile, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SFile

public SFile(java.io.File file)
Creates a new instance of SFile

Method Detail

getName

public java.lang.String getName()
Returns a Name of the file


getPath

public java.lang.String getPath()
Returns a path of the file


getModified

public java.util.Date getModified()
Returns a date of the last modification.


length

public long length()
Returns a size of the file.



Copyright © 2007 PPonec. All Rights Reserved.