| java.lang.Object org.apache.derby.impl.io.InputStreamFile org.apache.derby.impl.io.JarDBFile
JarDBFile | class JarDBFile extends InputStreamFile (Code) | | This class provides a jar file based implementation of the StorageFile interface. It is used by the
database engine to access persistent data and transaction logs under the jar subsubprotocol.
|
Method Summary | |
public boolean | exists() Tests whether the named file exists. | public InputStream | getInputStream() Creates an input stream from a file name. | StorageFile | getParentDir(int pathLen) Get the name of the parent directory if this name includes a parent. | public URL | getURL() Return a URL for this file (resource). | public long | length() Returns the length of the named file if it is not a directory. | public String | toString() Get the file name for diagnostic purposes. |
exists | public boolean exists()(Code) | | Tests whether the named file exists.
true if the named file exists, false if not. |
getParentDir | StorageFile getParentDir(int pathLen)(Code) | | Get the name of the parent directory if this name includes a parent.
An StorageFile denoting the parent directory of this StorageFile, if it has a parent, null ifit does not have a parent. |
length | public long length()(Code) | | Returns the length of the named file if it is not a directory. The return value is not specified
if the file is a directory.
The length, in bytes, of the named file if it exists and is not a directory,0 if the file does not exist, or any value if the named file is a directory. |
toString | public String toString()(Code) | | Get the file name for diagnostic purposes. Usually the same as getPath().
the file name |
|
|