org.daisy.zedval.engine
Class ZedFile

java.lang.Object
  extended byjava.io.File
      extended byorg.daisy.zedval.engine.ZedFile
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
ManifestFile

public abstract class ZedFile
extends java.io.File

A ZedFile object represents a single DTB or ZedVal file

Author:
James Pritchett, Markus Gylling
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
ZedFile(java.lang.String fullPath)
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the file object This overrides java.io.File.getName() since that method (on windows) will not represent case inconsistencies between constructor string and physical name
 java.lang.String toString()
           
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toURI, toURL
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZedFile

public ZedFile(java.lang.String fullPath)
Parameters:
fullPath - File path (full, including name)
Method Detail

toString

public java.lang.String toString()

getName

public java.lang.String getName()
Returns the name of the file object This overrides java.io.File.getName() since that method (on windows) will not represent case inconsistencies between constructor string and physical name

Throws:
java.io.IOException