| Constructor and Description |
|---|
FsFilePath(File f,
DirectoryPath parent)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Gets the file object.
|
long |
getLastUpdate()
Gets the last update date of this path.
|
InputStream |
openStream()
Opens a stream to the path represented by this path.
|
getAbsolutePath, getName, getParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAbsolutePath, getName, getParentpublic FsFilePath(File f, DirectoryPath parent)
Builds a new instance. Throws a IllegalArgumentException if the specified path does not represents a
path on the path system.
f - the pathparent - the parent, null if this path is a rootpublic InputStream openStream() throws IOException
Opens a stream to the path represented by this path.
openStream in interface FilePathIOException - if stream can't be openedpublic long getLastUpdate()
Gets the last update date of this path.
getLastUpdate in interface PathCopyright © 2012-2015. All Rights Reserved.