org.concord.util.script
Class ScriptFile

java.lang.Object
  |
  +--java.io.File
        |
        +--org.concord.util.script.ScriptFile
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class ScriptFile
extends java.io.File

See Also:
Serialized Form

Field Summary
protected  java.io.File stdFile
           
protected  java.util.zip.ZipEntry zipEntry
           
protected  java.util.zip.ZipFile zipFile
           
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
ScriptFile(java.lang.String fileName)
           
ScriptFile(java.lang.String dirName, java.lang.String fileName)
           
 
Method Summary
 boolean exists()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 java.util.zip.ZipFile getZipFile()
           
 boolean isZipFile()
           
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, 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, toString, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

zipFile

protected java.util.zip.ZipFile zipFile

zipEntry

protected java.util.zip.ZipEntry zipEntry

stdFile

protected java.io.File stdFile
Constructor Detail

ScriptFile

public ScriptFile(java.lang.String fileName)

ScriptFile

public ScriptFile(java.lang.String dirName,
                  java.lang.String fileName)
Method Detail

isZipFile

public boolean isZipFile()

getZipFile

public java.util.zip.ZipFile getZipFile()

exists

public boolean exists()
Overrides:
exists in class java.io.File

getName

public java.lang.String getName()
Overrides:
getName in class java.io.File

getInputStream

public java.io.InputStream getInputStream()

getOutputStream

public java.io.OutputStream getOutputStream()